What's the proper way to mark cells edited?

38 views
Skip to first unread message

Shadi Isber

unread,
May 14, 2013, 6:48:38 PM5/14/13
to slic...@googlegroups.com
In our application we enforce the concept of view grids and edit grids.  With edit grids, anytime a user modifies a cell, the serialized changes are appended to an input type hidden so that only changes are sent when the grid is saved.  At the same time, any modified cells should have their color switched to red for clarity.

I did a quick google search and this SO post's ultimate solution was to append an empty space character (http://stackoverflow.com/questions/14197784/slickgrid-styling-after-cell-edit).  This doesn't seem like a nice way to do it, and fails when considering non-string return values like boolean for example.

Is there an "official" way to add a class to a specific cell that is persistent with scrolling on edit?

Thanks

Michael Leibman

unread,
May 14, 2013, 6:54:25 PM5/14/13
to slickgrid
The given solution on SO is the best way to do this, but the comments on it are a complete B.S.



--
You received this message because you are subscribed to the Google Groups "SlickGrid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slickgrid+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Shadi Isber

unread,
May 14, 2013, 7:06:08 PM5/14/13
to slic...@googlegroups.com
Lol, thanks.
Reply all
Reply to author
Forward
0 new messages