Datatable issue

Hello Webix team,

I am trying to parse data to my datatable. But it is providing me an error in onAfterRender method.

I also want to add one dynamic column and also want to add link to my one coluimn which is not working.

Please provide solution for the same.

https://snippet.webix.com/9c38s6bl

https://snippet.webix.com/lik9658t

Hello,

I can not use data attribute. As I have to use ajax call for datatable. Please provide me a solution to parse the data in any event method.

Hello Webix team,

https://snippet.webix.com/vctab2v1

In above snippet, I have bind data in onAfterrender method. but not able to add new columns and link

Hello,

This is not the onAfterRender handler that does the trick. In your code the handler is called immediately after it is defined without waiting for rendering:

"onAfterRender":webix.once(function(){ ...})() //the function is called!

Moreover, in your conditions the Datatable will not render initially as it has neither columns nor data.

As a solution, I recommend you to use the ready handler with some data as a placeholder:

view:"datatable",
data:[],
ready:function(){ ... }

https://snippet.webix.com/7xumro7y

Hello Helga,
https://snippet.webix.com/9uxtgyte
But I am not getting column data in above snippet, I also want to add link to one of my column. How can I do that in ready method.

https://snippet.webix.com/sa2z1o91

Thanks kuro