Completed
Last Updated: 14 Sep 2021 08:58 by ADMIN
John A
Created on: 15 May 2019 01:53
Category: UI for ASP.NET Core
Type: Feature Request
1
Treelist bind from Datatable

Hi

Would like to request to bind Treelist from Datatable with dynamic type

And Totreedatasocure to accomidate for dynamic datatable rather tha at row of static table.

Thank you

2 comments
ADMIN
Tsvetomir
Posted on: 14 Sep 2021 08:58

Hi,

The Telerik UI TreeList for ASP.NET Core can be bound to a DataTable. The only specific is that the Id and ParentId options of the data source of the widget have to be explicitly specified. 

.DataSource(dataSource => dataSource
        .Model(model =>
        {
            var id = "EmployeeID";
            model.Id(id);
            model.ParentId<int>("ReportsTo");
        // other options

The values for the two fields can also be dynamically set if such information is present in the schema of the DataTable. 

 

Regards,
Tsvetomir
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Alex Hajigeorgieva
Posted on: 21 May 2019 08:13
Hello, John,

Thank you for the feature request submission.

I have set it as approved now which means that the idea is seen as a possible addition to our future implementation dependent on the votes and user feedback that we gather. 

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.