I’m new in Webix and tried to figure out how to initialize my database to work with treetable. Currently I have basic structure like Id, Topic, Body. Id if formed like i+1.
In TreeTable data you must give id’s in form 1.1.1 and so on… So should I change my database structure or can I use any other method? Was wondering if I can use it with parent id information, is that possible? And with parent Id generate tree structure in callback method? I’m using Ajax to fetch data from the database in JSON form.
Thank you in advance! If you can write me a small sample it would be awesome!