Can webix datatables do this?

Hello,

Your widgets are really nice. I am interested in getting a pro license but I have a few questions first.

I checked your demo, and more specifically the datatable examples.

In my application I need to be able to display the datatable as a tree, with up to 10 children. In your example you only show 1 child so I’m not sure if you support more or not.

In addition, your demo shows that the root element doesn’t have any data in the other columns. I need something like in this screenshot:

http://oi59.tinypic.com/6teqn5.jpg

You can see that when a row is collapsed we see the total values of its underlying elements (this would be calculated on my side of course). I was wondering if we could reproduce the same functionality with webix?

Thank you

Most probably you are referring to the grouped DataTable, but in your case you need to use a TreeTable widget

Check:

http://docs.webix.com/desktop__treetable.html
http://docs.webix.com/samples/15_datatable/30_treetable/01_init.html
http://docs.webix.com/samples/15_datatable/30_treetable/03_big_datatree.html

Thank you Maksim

I had a look at these examples and a lot of others but I still have a few questions if you don’t mind:

1/ Is it possible to have more than 1 child deep? I need a root, then a child, then a child of this child etc… up to 10 levels deep

2/ Is it possible to show/hide columns dynamically like in this example:
https://datatables.net/extensions/colvis/

3/ Is it possible to do all this with the free edition as I would like to test it before purchasing the pro edition?

Thanks again

(1) In case of treetable, a hierarchy can have unlimited deep. So yes, you can have child, of child, of child of … n times … child.

(2) yes, http://docs.webix.com/datatable__headermenu.html

(3) to use the header menu you need to grab the Webix pro trial ( you can download a 30 day eval. package ) http://webix.com/download/

To be exactly true, the functionality to hide|show columns does exist in the GPL edition as well. But in GPL version it just an JS API, while in PRO edition it has the ready to use menu widget that can be used to hide|show column.

Thank you, that looks perfect for what I need.