SMART datagrid v.1 > Classes > ListCellEditor

Back  Forward

DataLudi.ListCellEditor.listItemStyles  property

The Style Set which is used when displaying the first value of dropdown list item. 

The second value is displayed by using subItemStyles

Getter
function listItemStyles(): GridStyles
Setter
function setListItemStyles(value: Object|GridStyles)
Code -1
    var columns = [{
        name: "colCode",
        editor: {
            type: "list",
            listItemStyles: {
                "fontName": "Courier New",
                "fontSize": "14",
                "background": "#10000000",
                "color": "#333",
                "selectedBackground": "#048",
                "hoveredBackground": "#20004488",
                "hoveredColor": "#000"
            }
        }
    },
    ...
See Also
subItemStyles
listItemDisplay
listItemColumned
listItemGap
listItemSeparator
dropDowWidth
GridStyles
Examples
List Editor Styles