Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Setting the GridCell Style
posted

Hi, I have WDG in which I use the CellEditing Exiting EditMode event to set the style of the bound column cells when the cell content is edited.

I have three questions:

1. I want to set the cell style only when cell content has changed. Now the above function is triggered anytime the cell content is edited regardless of whether the cell content has changed. Is there a way to check if the content has changed before changing the cell style?

2. I want to achieve the same functionality for the TemplatedColumn cells i.e. when the content changes I would like to be able to invoke the same function. Since the TemplatedColumn does not have the same event exposed, how can I achieve this functionality?

3. I want to clear the style after the row update has occurred. How do I achieve this?

Thanks,

Parents Reply Children
No Data