How to paint data grid according to some attributes in data master?

Yrii shared this question 4 years ago
Answered

How to paint data grid according to some attributes in data master? For example, i have data master with two fields: "name" and "enabled". I wish to view all names in table, but those which have enabled=false should be gray.


I was able to perform it with OnPageLoad event and it works. But right after changing data (adding or deleting record) it refreshes. Feel lack of "OnDataChange" event for data grids... Maybe there is a way to force OnPageLoad event for data grid manually after addin data?