0 Replies Latest reply on Nov 10, 2011 12:58 PM by ion

    can you preselect cfgrid rows?

    ion Level 1

      i have a boolean column (checkboxes) in a cfgrid, column is fake, doesn't exist in query.

       

      onChange i run a js function that takes the value of another (numerical) column and saves it in a hidden form field as a comma delimited list. if user clicks the same checkbox again, it removes it

       

      everything works fine, except when the user navigates to the next page and back, my list of values is still in the field, but the checkboxes are no longer checked.

       

      that creates a problem, because now, if the user clicks the same checkbox again, it will actually remove the value instead of adding it

       

      is there a way to preserve the checkbox state when navigating back and forth?

       

      thanks for any help