SMART datagrid v.1 > Classes > DataColumn
If Data Field specified by this value exists in DataSet connected to grid, and if lookupDisplay is true, the data cells of this column will display the value of this field rather than the value of field connected to cell.
Please refer to the overall contents about lookup in Data Lookup Overview.
Defaults to null.
var columns = [{
name: 'colId',
fieldName: 'project_id',
labelField: 'project_namename', // label field
lookupDisplay: true // Must be true
...
},
...
];
grid.setColumns(columns);