I created a checkbox column with:
selModel: {
selType: 'checkboxmodel',
checkOnly: false,
showHeaderCheckbox: true,
injectCheckbox:'last',
},
listeners: {
selectionchange: 'onSelectionChange'
},
And it works goods for the functionality I need.
My only problem is that I would like that this column would be not always show but to be show/hide when the user select it in the menu where the are the other columns (Name, Identifier, etc. ) in the picture below:
How can I implement this?
I also check that exist xtype: 'checkcolumn' but I saw that with it is not easy as in checkboxmodel implement operations like select all items ecc.
Aucun commentaire:
Enregistrer un commentaire