hello,
I have a small problem, when I’m trying to add a new row, which also includes the checkbox – I can’t click on that checkbox.
The initialzation of grid is :
$("#searchGrid").jqxGrid(
{
width: 330,
height:150,
source: sourceS,
theme: theme,
columns: [
{ text: '', datafield: 'select', columntype: 'checkbox', width: 40},
{ text: 'Location', datafield: 'location', width: 90 },
{ text: 'Feed title', datafield: 'feedTitle', width: 100 },
{ text: 'Feed ID', datafield: 'feedID', width: 80, },
]
});
and the code with adding a new data row:
var row = {};
row["feedID"] = searchResults.results[i].id;
row["feedTitle"] = searchResults.results[i].title;
row["location"] = "placed";
row["select"] = true;
$("#searchGrid").jqxGrid('addrow', null, row);
However after adding this row, the checkbox is not clickable (it acts just like a image) . Can you tell me, what am I doing wrong?