webix datatable

Hello webix team,


I have stucked in one scenario where I can't use parse method to bind data to data table. I have to attach the columns dynamically in render method and after binding columns I will have to bind data to columns.

How can I do that?


  • Hello @Tejal ,

    If you want to add columns dynamically and parse the data to these columns, so there is no way to use onAfterRender event. The point is that onAfterRender occurs after the component has been rendered and data parsed.

    I recommend you to add columns with the help of webix.toArray($$("grid").config.columns)and insertAt method

    Please check the sample: https://snippet.webix.com/eh64x0xj

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion