RE: Making a grid's checkbox column preserve its checked state across pages

2016-02-19 Thread heph estos
The best way is to keep a data structure seperated from your grid and this be used as index of checked and unchecked lines,assuming each line is identified uniquely. Updating grid upfate your structure and reverse on page flips. Στις 19 Φεβ 2016 15:41, ο χρήστης "Davide Vecchi" έγραψε: > The way

RE: Making a grid's checkbox column preserve its checked state across pages

2016-02-19 Thread Davide Vecchi
The way in which I was thinking to handle this for now was to act client-side on the change of a checkbox and send its checked state to the server via Ajax, without POSTing the form. The idea of saving the states in the client instead is interesting, I had not thought about it and I will definit

Re: Making a grid's checkbox column preserve its checked state across pages

2016-02-19 Thread Lance Java
If you want the values serverside, you'll need to POST the form when changing pages. You might find this difficult to achieve as paging is currently done as a GET request. The simplest solution would be to add a change event listener clientside and store the values on the client until the form is

Making a grid's checkbox column preserve its checked state across pages

2016-02-19 Thread Davide Vecchi
Hi everybody, The following is my scenario, I'm looking for suggestions about good ways to go about it. Many of my pages have grids, and many of these grids have columns whose content in each row is a checkbox. If the grid has many rows and so it gets divided into grid pages and it gets a Pag