How can I custom hide the icon when data is empty base onSubViewCreate method
onSubViewCreate: function (view, item) {
view.load(`${urlPOItem}/data/${item.id}`);
},
or base on current total_item field on parent datatable
How can I custom hide the icon when data is empty base onSubViewCreate method
onSubViewCreate: function (view, item) {
view.load(`${urlPOItem}/data/${item.id}`);
},
or base on current total_item field on parent datatable
Hello,
If the needed condition is stored in the parent data item, you can declare the column template as a function which will return certain elements depending on this condition. For example: