Datatable event to parse data from inline data store

Hi Webix Team,

Can you please tell me which datatable event should I use to parse my data to datatable?

If I parse data in “onStructureLoad” event it is calling onStructureLoad event for each data added…and If I parse data in “onAfterRender” method is called continuously.

Please reply
Thank you.

Please reply

this is not depend on data…but I want to know why onStructureLoad event is called two times?

you don’t need any event to parse data.
just call $$("table").parse(dataObject)

https://docs.webix.com/api__link__ui.datatable_parse.html

but what if I want to attach datatable data immediate after datatable renders.
when should I parse data, if data is dynamic?

it does not matter if data is dynamic or not.
you can parse as soon as data is ready
or parse promise object directly
or load url instead
https://docs.webix.com/datatable__loading_data.html

yah got it, Thank you!