How to bind data in Grid after grid.data.load?

hi
I try
grid.data.load(listURL + “p_rev_seq=” + $("#selectRevSeq option:selected").val() + “&rs_typ=” + tabId, “json”);
this one.
but that is not binding in grid, only loaded and promise return.

How can I bind loaded data??

plz help me!

Could you please, clarify what do you mean unde rthe data binding.

1 Like

I mean not viewing on the screen the data by loaded.
I think maybe because of the different data types. because url load data is {data:[{…, but the dhtmlx grid needed data type is [{… .
Is it possible to change the data type after grid.data.load?

You may try to create your own data driver to change the data format:
https://docs.dhtmlx.com/suite/helpers__datadrivers.html
but it can be done only before the data loading.

1 Like