Although I Never Get An Answer ...
column 1 of grid is HTML coded checkbox <input type='checkbox' name='selectid' value='someval'>
On sort, selections disappear. Very irritating. I've searched the forum carefully and not found any method that addresses this issue directly although several attempts to acquire this knowledge have been made. Has anyone figured out the solution to this issue? If so, please share.
sorting includes call to refresh() method which re-creates grid's html from the data source. Ideally you should not rely on the state of the html but rather transfer the state into your data source, for example re-creating checkbox html inside your data source with 'checked' attribute using onclick or onchange event.
Or, as you suggested you can wrap refresh() method with your code reading checkbox state and restoring it after refresh.
Version 2.0 includes checkbox templates, so those hacks will not be necessary with the new version.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.