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
25
How to change the style for rows that are committed but not yet saved to the database
posted

I have a grid with remote sorting and paging. I override the .ui-iggrid-modifiedrecord style on the view to show the dirty rows with a different style.

Also I do a $("#MfrGCGrid").igGrid("commit"); on the iggridupdatingdatadirty event, but do not save updates to the database. The updates are saved to the database only when an external Save Changes button is clicked by calling the $("#MfrGCGrid").igGrid("saveChanges");

The problem I have here is, I cannot get the updated row styles to persist. As soon as the iterator page changes or grid is sorted, the data is committed to the grid, and the dirty row styles are lost. I need the styles to persist untill I click the external Save Changes button.

Any help appreciated.

Parents Reply Children
No Data