[SOLVED] Issues with (possible bugs in) CheckBoxSelectionModel
I'm seeing three issues with CheckBoxSelectionModel that I've not been able to resolve and I think it boils doing to 1) me not using it right, 2) the grid intercepting events, or 3) actual bugs in the CheckBoxSelectionModel class.
I basically copied the demo code verbatim using my own model and columns. I've even tried stripping it down the the bare basics, just grid, it's supporting cast, and a list of model object, no other settings.
- This is in the check box grid demo here: http://sencha.com/examples-dev/#Exam...e:checkboxgrid and may be by design. If you click a row, the checkbox is selected but the only way to uncheck the checkbox is to click just the checkbox.
- None of the selection or selection changed events are firing on my CheckBoxSelectionModel. I'm actually throwing RuntimeExceptions and they're not showing up in the logs where others are when intentionally thrown by button clicks.
- The model seems to be ignoring the selection mode setting and is only allowing SelectionMode.MULTI. When I set it to SIMPLE, it's still using MULTI - even if I set this via a button click (ala the demo's selection mode dropdown) after the grid is loaded.
Anyone have any thoughts? Thanks.
After two days I was able to finally figure this out. Somehow, in my copy/paste of the demo code, I never got the setting of the selection model on the grid.
I am so dumb...
Tags for this Thread