Thank you for your prompt response.
I originally tried it without the begincelledt and endcelledit and only added those two calls after it didn’t work.
The values still do not appear in the grid cell.
Do I have to do a refresh or something?
Here’s my grid code…
var source =
{
datatype: ‘json’,
datafields:[
{name:’tnrdTrId’, type: ‘int’},
{name:’tnrdRegion’, type: ‘int’},
{name:’tnrdGovernorate’, type: ‘int’},
{name:’tnrdCity’, type: ‘int’},
{name:’tnrdAreaOfConcern’, type: ‘int’},
{name:’tnrdDescription’, type: ‘string’}
]
};
var dataAdapter = new $.jqx.dataAdapter(source);
$(‘#newDestinationsGrid’).jqxGrid(
{
width: 900,
height: 300,
source: dataAdapter,
enabletooltips: true,
editable: true,
columns:[
{text: ‘TravRecId’, datafield:’tnrdTrId’, hidden: true},
{text: ‘Region’, datafield:’tnrdRegion’, hidden: true},
{text: ‘Gov’, datafield:’tnrdGovernorate’, hidden: true},
{text: ‘City’, datafield:’tnrdCity’, hidden: true},
{text: ‘AOC’, datafield:’tnrdAreaOfConcern’, hidden: true},
{text: ‘Description’, datafield:’tnrdDescription’, width:875}
]
});