When I get data via Ajax, isDirty is always false. I am setting the PrimaryKeyId in the datamodel below, all the data is populating the grid correctly. I can even write the primaryKey to the console or display via data[0].PersonId so I know the data is there. What am I missing? My primary key is a Guid, does param query not work with Guids as the primary key?
var providers = {
location: 'remote',
dataType: "JSON",
recIndex: 'PersonId',
method: "GET",
url: "/FacilityAdmin/Provider/GetProviders",
getData: function (dataJSON) {
var data = dataJSON.data;
return { curPage: dataJSON.curPage, totalRecords: dataJSON.totalRecords, data: data };
}
};
var colM = [
{ title: 'PersonId', width: 100, dataIndx: 'PersonId', dataType: 'string', hidden: true },
{ title: 'Last Name', width: 100, dataIndx: 'LastName', dataType: 'string' },
{ title: 'First Name', width: 100, dataIndx: 'FirstName', dataType: 'string' },