This is a migrated thread and some comments may be shown as answers.

Bind to hierarchical detail table client side

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Microchick
Top achievements
Rank 1
Microchick asked on 17 May 2017, 11:27 PM

How do I set the data source for a detail table in a hierarchical grid using client side code?

I can see that you can set the master table data source as follows, but how and when do I load the child data into the detail tables?

<script type="text/javascript">
   function pageLoad() {
       var data =
        [
           { "ID": 1, "Text": "Text1" },
           { "ID": 2, "Text": "Text2" }
        ];
       var mtv = $find("RadGrid1").get_masterTableView();
       mtv.set_dataSource(data);
       mtv.dataBind();
   }
</script>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 22 May 2017, 08:26 AM
Hello,

I am afraid client-side binding with hierarchy is not supported.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Microchick
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or