Your demo link:
https://paramquery.com/pro/demos/checkbox_idIn this example your data is:
var data = [
{ id: 1, company: 'Exxon Mobil', revenues: '339938.0', profits: '36130.0', state: true },
{ id: 2, company: 'Wal-Mart Stores', revenues: '315654.0', profits: '11231.0' },
{ id: 3, company: 'Royal Dutch Shell', revenues: '306731.0', profits: '25311.0' },
{ id: 4, company: 'BP', revenues: '267600.0', profits: '22341.0' },
{ id: 5, company: 'General Motors', revenues: '192604.0', profits: '-10567.0' },
]
Change the id field in this example to this
idnote,wow in another way
var data = [
{
idnote: 1, company: 'Exxon Mobil', revenues: '339938.0', profits: '36130.0', state: true },
{
idnote: 2, company: 'Wal-Mart Stores', revenues: '315654.0', profits: '11231.0' },
{
idnote: 3, company: 'Royal Dutch Shell', revenues: '306731.0', profits: '25311.0' },
{
idnote: 4, company: 'BP', revenues: '267600.0', profits: '22341.0' },
{
idnote: 5, company: 'General Motors', revenues: '192604.0', profits: '-10567.0' },
]
Replace the dataIndx: "id" field in the ColModel field with the field name you just wrote.(idnote)
Then press the Edit and Run button.
Then tick 3-4 Checkboxand press the GetRowId button.
The result is zero alert
That's why it doesn't work in my project. If I load your data sample it works.