[FIXED-186] Not Including CheckboxSelectionModel In Column Model
When adding a CheckboxSelectionModel to a grid it looks fine in the designer, but when the exported project is run in the browser the checkbox column is missing because it's not being included in the column model.
I appreciate that this can't be done using entirely declarative syntax as you need two references (selModel and a column) to the same selection model, so the exported .ui.js code would need to declare the column model before the main object and then reference it in the declaration.
Currently I'm having to add the code below to the corresponding .js file after initialization, which is hardly a major pain, more a minor irritation.
Code:
this.MyGrid.colModel.config.unshift(this.MyGrid.selModel);
1 Attachment(s)
Definitely not working for me
I'm running v1.0.2.5 and whilst the checkbox column does show correctly in the code preview, it's missing in the generated .ui.js file. I guess this explains why it appears up on the design surface but not the designer preview or the browser.
As I'm working on an old project which was created with v1.0.1, I've just created a new minimal project but it still doesn't work.
I've attached this quick test project which is missing things like a store etc., but you'll see that the problem is still there for me.