Sep 16, 2011, 10:02 PM
CheckboxGroup & DataIndex - how to bind so you can update store correctly?
This was working with MultiCombo just fine, but if i switch to CheckboxGroup, it fails.
I'm just trying to bind SqlDataSource -> Store -> FormPanel (very straightforward).
When selecting multiple items in the MultiCombo, it submits to the database as i would expect ("1,2,3,4") (string).
However, when i check all the checkboxes in the group, the sql looks like this:
"[object Object],[object Object],[object Object],[object Object]"
I am setting the DataIndex property on the CheckBoxGroup - not sure what the correct binding method is with this object. When I set the DataIndex on the individual checkboxes (the same column name for all 4 checkboxes), i get a "too much recursion" error when trying to save....
I'm just trying to bind SqlDataSource -> Store -> FormPanel (very straightforward).
When selecting multiple items in the MultiCombo, it submits to the database as i would expect ("1,2,3,4") (string).
However, when i check all the checkboxes in the group, the sql looks like this:
"[object Object],[object Object],[object Object],[object Object]"
I am setting the DataIndex property on the CheckBoxGroup - not sure what the correct binding method is with this object. When I set the DataIndex on the individual checkboxes (the same column name for all 4 checkboxes), i get a "too much recursion" error when trying to save....