Hello team..
As im working with the jqxgrid,i need to change the local data…In the grid im able to fetch the data from the server side using ajax…
but what i need is that based on a condition i need to change the local data…can you just put me some sample codes..
To make myself clearer..What i need is that..
if(document.getElementById(“Docno”).value!=”){
group2=ajaxresult;
}
else{
some other data
}
var source =
{
datatype: “json”,
datafields: [
{name : ‘gid’ , type: ‘string’ }
],
localdata: group2,
};