webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

Ability to highlight edited cells / cell data and disable sorting #52

Closed SunnyMittal closed 9 years ago

SunnyMittal commented 10 years ago

Hi, I need to highlight the edited values until user hits a save button. Is it possible using editable grid ? if yes, then how ?

Also I need to disable sorting of all the columns in my grid, I tried to use below metadata to disable sorting but this doesn't work. : "enablesort":false

{"name":"12-06am","label":"12 July 06:00 a.m.","datatype":"double(,2, dot, comma, 0, n/a)","bar":false,"editable":true,"values":null,"enablesort":false},

Thanks a lot for your time ! Sunny

SunnyMittal commented 10 years ago

Answer regarding disabling sorting: I was able to disable sort on all the columns by using config settings as mentioned below while initializing editable grid.

gridConfig = {enableSort:false} editableGrid = new EditableGrid("GridJSON", gridConfig);