I’m trying to figure out how to define an Ext.grid.Panel with different selType.
Actually, I need a grid that allows me to select both single cells and rows (with checkbox).
In the first case it needs to define selType config as cellmodel but in the second case it needs selType configured as checkboxmodel. Unfortunately, selType accepts a string not an array.
So, is there any way to define different selType on a single grid?
Ok, it’s possible to configure both a
selTypeand aselModelin the same grid.Here’s an example:
And then the grid:
But it’s also possible to follow the way suggested by A1rPun, to put it better use more
selTypewith hierarchy: