devaskim
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 
@noone23122 I meant if you need to customize existing Alarm Table, so clone and patch exactly it