In singlecell edit mode can you help me define what the object rowdata contains in this example. I am trying to send the rowid
columnname, and value in the ajax if possible….
var source = {
datatype: “json”,
cache: false,
datafields: [
{ name: ‘ID’ },
{ name: ‘AppName’ },
{ name: ‘Description’ }
],
id: ‘ID’,
url: ‘ApplicationData.php’,
updaterow: function (rowid, rowdata, commit) {
**** Please help me define what the object row data would be *****
}
var dataAdapter = new $.jqx.dataAdapter(source);
$(“#jqxgrid”).jqxGrid(
{
width: 600,
height: 300,
source: dataAdapter,
theme: theme,
editable: true,
selectionmode: “singlecell”,
columns: [
{ text: ‘ID’, dataField: ‘ID’, width: 60, hidden: false , editable: false},
{ text: ‘AppName’, dataField: ‘AppName’, width: 140, editable: true},
{ text: ‘Description’, dataField: ‘Description’, width: 300, editable: true}
]
});