Hi,
I have a jqxgrid with 2 columns
columns: any[] =
[
{ text: ‘Description’, datafield: ‘name’, width: 250, editable: true, renderer: this.jqGridColumnsRenderer},
{ text: ‘Value’, datafield: ‘newvalue’, width: 250, editable: true, renderer: this.jqGridColumnsRenderer}
];
orAttributes = [];
source: any =
{
localdata: this.orAttributes,
datafields: [
{ name: ‘name’, type: ‘string’},
{ name: ‘newvalue’, type: ‘string’}
],
datatype: ‘json’
};
dataAdapter: any = new jqx.dataAdapter(this.source);
if the cell (datafield: newvalue) is assigned with a number, I’am not able to change it to text, it gets reset to number 0.