SMART datagrid v.1 > Classes > DisplayOptions

[ grids ver.1.3.5]   Back  Forward

DataLudi.DisplayOptions.checkDataInited  property

If it is true, when it has not run data load in the connected data set, that is, only when DataSet.dataInited returns true, it will display emptyDataMessage in grid. 

When it displays the grid for the first time and loads the data together, it can avoid to display unnecessary empty message. 

Defaults to false.

Getter
function checkDataInited(): Boolean
Setter
function setCheckDataInited(value: Boolean)
Code -1
    grid.setDisplayOptions({
        checkDataInited: true
    });
    
    $.ajax({
    	url: "data/statements.csv",
    	dataType: 'text',
    	success: function (data) {
            new DataLudi.DataLoader(ds).load("csv", data, {
            	start: 1
            });
    	}
    });
See Also
DataSet.dataInited
emptyDataMessage
Examples
Empty Grid