SMART datagrid v1.4 > Classes > DataLoader

Back  Forward

DataLudi.DataLoader.DataLoader  constructor

DataLoader 생성자. 

function DataLoader (provider: GridDataSet);
Returns
Void
Parameters
provider - GridDataSet. required.
Code -1
    $('#load').click(function () {
        $.getJSON('data/data.json', null, function (data) {
    		new DataLudi.DataLoader(dataset).load('json', data, {
    		});
    		// 혹은, 전역함수를 이용한다.
    		DataLudi.loadJsonData(dataset, data, {
    		});
    	});
    });
See Also
load
loadJsonData
loadCsvData
loadXmlData
Examples
Load Csv Data
Load Json Data
Load Xml Data