mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Custom checkbox not maintaining selection onSort #1120

Open antonUknown opened 8 years ago

antonUknown commented 8 years ago

I have 2 columns with checkboxes. I implemented them using a formatter because the checkbox plugin does not work well with multiple columns having checkboxes( itried giving different id and still selection is an issue)

Now the current issue that I am getting is the selection of any checkbox is not maintained when I click sort or perform any other action on the slickgrid.

I tried using syncGridSelection(grid, true) but it is not working. Could anyone please help me with this.

Thanks Anton

paulbors commented 8 years ago

Break point and trace your model object property. Where does it get reset and why?