SMART datagrid v.1 > Classes > GridBase
Fill the value in LookupSource corresponding to sourceId.
and the items as much as levels number of lookup tree should exist in each key being transferred to keys.
$('#fillData').click(function () {
// "customers" is the id of lookup tree.
// In each key of keys, there should be the items as much as the number of levels of lookup tree.
grdMain.fillLookupValues("customers",
// keys
[
["Google", 5],
["Microsoft", 4],
["Apple", 3],
...
],
// values
[
"GOOG_5",
"MSFT_4",
"AAPL_3",
...
]
);
});