Hi,
Based on the example jqxgrid/bindingtojson.htm
I want to change the datas received by the dataAdapter. In my real case change the html “& euro ;” to the euro symbol.
In the example, add “modified” to the name
I modify the example and change the dataAdapter definition
var dataAdapter = new $.jqx.dataAdapter(source, {
loadComplete: function (records) {
var records = dataAdapter.records;
var length = records.length;
for (var i = 0; i < length ; i++) {
var record = records[i];
record["name"] = record["name"] + " modified";
}
}
});
When I display the grid, the ‘modified’ text is not displayed even if I put async: false in the source properties.
If I put “showfilterrow: true, filterable: true” in the jqxGrid properties, the text “modified” is added in the column ‘name’ onky when I type something in one of the filter boxes.
So my question : how to have the modified rows directly in the grid ?