devaskim

Results 141 comments of devaskim

Hi @Philip2809 , I am a contributor with a long TB story. I decided to wait a bit to look what would happen after your first questions in this pull...

Try to use brackets around _stateId_ ``` [stateId]="'test'" ``` or ``` [stateId]="test" ```

It is Java integer type, i.e. signed int32 https://github.com/thingsboard/thingsboard/blob/master/common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/MqttTransportHandler.java#L1359

First, get rid of this ``` self.ctx.$scope = self.ctx.$scope || {}; self.ctx.$scope.ctx = self.ctx.$scope; ``` then use `(click)="somuFunc"` instead of `ng-click` in HTML code

Did you try to write/use sorting function? See advanced settings of the widget.

1. It is unclear where do you want to put those buttons, e.g. about table or somewhere else. 2. It would be easier to help if you share your code....

I think click event won't be trigged here `` at all, because it is overlapped by Row Click action handler. In you use TB 3.7+ there should be Cell Click...

Add to JS part of your widget (copied from standard `Entities table` widget) ``` self.actionSources = function() { return { 'actionCellButton': { name: 'widget-action.action-cell-button', multiple: true, hasShowCondition: true }, 'rowClick':...

Guess you cloned some other widget, because standard Alarm Table widget already has Action Cell Buttons ![Скриншот 19-08-2024 234310](https://github.com/user-attachments/assets/6a2f46f6-38a0-4f87-baa7-bccde4782787)

@noone23122 I meant if you need to customize existing Alarm Table, so clone and patch exactly it