SMART datagrid v.1 > Classes > ListCellEditor

Back  Forward

DataLudi.ListCellEditor.listItemColumned  property

If specify as true, when display both label and value in dropdown list item, it will display after adjusting the width of items equally which are displayed on the left side. 

Defaults to false.

Getter
function listItemColumned(): Boolean
Setter
function setListItemColumned(value: Boolean)
Code -1
    var columns = [{
        name: 'colAddr',
        editor: {
            type: 'list',
            listItemDisplay: 'labelValue',
            listItemColumned: true
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
listItemDisplay
listItemGap
listItemSeparator
listItemStyles
subItemStyles
Examples
List Editor Two Columns