colModel:
[
{ title: "ID", width: 100, dataType: "integer", dataIndx: "id", type:'checkbox', cbId: 'state', editable: false },
//hidden column to store checkbox states.
{
dataIndx: 'state',
cb: {header: true, select: true, all: true},
dataType: 'bool',
hidden: true
},
{ title: "Company", width: 220, dataType: "string", dataIndx: "company", editable: false },
{ title: "Revenues ($ millions)", width: 180, dataType: "float", format: "#.00", dataIndx: "revenues", editable: false },
{ title: "Profits ($ millions)", width: 170, dataType: "float", format: "#.00", dataIndx: "profits", editable: false }
]
https://paramquery.com/pro/demos/selection_checkboxI think there is a bug. For read only grid, row selection should enable copying rows or range of cells but it is not working.
when i removed editable: false from grid option and moved it to each column editable:false then row selection is working. Isn't it same thing as grid.editable = false.
I liked implementation in 3.4 of selecting the row when number cell was clicked.
Now we have to add more code to add state column backend and front end to get row selection working. The hidden column of state is getting displayed in column selector. If it is hidden it should not show in column selector. how do i get rid of hidden column from column selector?
I would like to have support in latest version for 3.4 implementation of row selection, perhaps with some option please?
Also when whole row is selected using checkbox, it is not getting copied using ctrl C ?