i have issue where if i use columntype = ‘input’ with textbox.. when user tries to click on cell to edit.. grid scrolls.. but if i used createWidget it does not happen.. so my question is how can i use createWidget to edit the cell..
i tried `
createwidget: function (row, column, value, htmlElement) {
var input = $(‘<input type=”text” class=”.customClick”/>’);
input.keyup(function(e){
//put cell in edit mode
$(“#strikeOptGrid”).jqxGrid(‘begincelledit’, row, column);
});
$(htmlElement).append(input);
}
`
but i am getting
Uncaught TypeError: Cannot read property ‘columntype’ of null
and if i try to use ‘setcellvalue’ method.. then i am getting
Uncaught TypeError: Cannot read property ‘displayfield’ of null
any help please..