SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.emptyGridMessage  property

The string which is displayed in the background of empty grid when there is no column which will be displayed in grid. 

If specify null or undefined, the default value will be displayed, and if specify an empty string, it will not be displayed. (ver 1.3.4) 

It specifies the message which will be displayed when Data Set is empty by emptyDataMessage

Defaults to "??곳에 ?�시??메시지�?DisplayOptions.emptyMessage ?�성?�로 ?�정?�니??".

Getter
function emptyGridMessage(): String
Setter
function setEmptyGridMessage(value: String)
Code -1
    grid.setOptions({
        display: {
            emptyGridMessage: 'Abc ERP Solution v1.0'
        }
    });
Code -2
    grid.setDisplayOptions({
        emptyGridMessage: 'Abc ERP Solution v1.0'
    });
Code -3
    grid.displayOptions().setEmptyGridMessage('It is an empty grid.');
See Also
emptyDataMessage
GridBody.emptyDataStyles
visibleColumnCount
Examples
Hello Grid
Empty Grid