SMART datagrid v.1 > Classes > ListCellEditor
If specify this item as much as the number of values items, the texts specified by this property instead of values will be displayed in the list of list box. In any case, the value which is actually transferred to data cell is one of the values of values.
Defaults to null.
var columns = [{
name: "CustomerID",
fieldName: "CustomerID",
width: "120",
editor: {
type: "list",
values: ["VN", "HN", "SP", "VC", "TR", "SV"],
labels: ["VINET", "HANAR", "SUPRD", "VICTE", "THREE", "SEVEN"]
}
},
...
];
grid.setColumns(column);