If the string begins with a number in the table only a number will be displayed.
info = [
{key: "Storage", value: "2 GB" }
];
var source = {localData: info, dataType: "array"};
var dataAdapter = new $.jqx.dataAdapter(source);
$("#infoTable").jqxDataTable({
theme: main.skinBasedJqxTheme,
width: "99%",
height: "90%",
source: dataAdapter,
pageable: false,
sortable: false,
editable: true,
columnsResize: true,
autoRowHeight: false,
altRows: true,
columns: [ /* Here are the definitions of createEditor, initEditor and getEditorValue functions*/ ]
});
In these case in the row of “Storage” displayed value will be 2.
Thank you
Maria