SMART datagrid v.1 > Classes > SeriesColumn

Back  Forward

DataLudi.SeriesColumn.fieldNames  property

These column cells specify fieldNames of DataField which will get the value as string separated by comma. 

At this point, you can specify the separated field name in "field1..field2" pattern, and if find field index of both ends and both fields exist in DataSet, it will contain both fields plus all fields between them. 

Defaults to null.

Getter
function fieldNames(): String
Setter
function setFieldNames(value: String)
Code -1
    column.setFieldNames('field1,field2');
    // Specifies the interval.
    column.setFieldNames('field1,field5..field11,field20');
    // In most cases, it will set when creating the grid column.
    grid.setColumns([
        {
            name: 'col1',
            type: 'series', // If fieldNames exists, you do not need to specify in this way.
            fieldNames: 'field1,field5..field11,field20'
        }
    ]);
See Also
cached
DataField
DataSet
DataColumn
Examples
Series Column