jource08
jource08
It's hardcoded to the component file to read the first index of datasource. [Source Code](https://github.com/thingsboard/thingsboard/blob/c4e5ab65ee73a604cab2d374c98b232d42390517/ui-ngx/src/app/modules/home/components/widget/lib/entity/entities-table-widget.component.ts#L423) Guess we can do nothing about it unless to create a custom widget from scratch....
If above solution not working, can try to add `setTimeout()` like: ``` javascript setTimeout(() => { ctx.ngZone.run(() => { ctx.detectChanges(true); }); }, 10); ``` Applicable for custom widget action (HTML+JS)...