Can someone please let me know what the record structure should be to use TreeListView to be bound directly to a database.
Thanks
Nitin
1 Answer, 1 is accepted
0
Tihomir Petkov
Telerik team
answered on 18 Jan 2010, 02:56 PM
Hello Nitin,
There is no specific requirement for the stucture of the data you want to use in the TreeListView control. However, you are responsible for building the proper hierarchy that will make the data suitable for usage in the UI of your application. In most business scenarios it is not feasible to change the structure of your databases just for the sake of UI and it is usually better and easier to process the data in the ViewModel of your application to make it suitable for rendering (if you are using a design pattern like MVVM).