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

Detail table disappears after rebind

3 Answers 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 08 Aug 2008, 07:41 PM
I have a hiearchical grid. There is a master table with two detail tables. Data in the master table is based on some values from one of the detail grids. So, when an update is made to the detail table record, I want to refresh the data in the master table. I call the Rebind() method when doing inserts and deletions without any problems. When I update a row and save it, the Rebind() call causes the detail table of the item I am saving to disappear. The detail table is still present in all of the other rows of the master table except this one.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Aug 2008, 06:45 AM
Hi Dave,

Here is a code library submission which explains how to maintain the Expanded state in Hiearachical Grid on rebind.Go through it and see whether it is helpful.
0
Dave
Top achievements
Rank 1
answered on 11 Aug 2008, 05:06 PM
I'm not having a problem with maintaining the expanded state. I can keep the row expanded. The detail table does not appear after a rebind. There are two detail tables - one of them disappears after rebinding the parent grid.
0
Yavor
Telerik team
answered on 12 Aug 2008, 05:27 AM
Hi Dave,

This sounds like there is a problem with the way the grid is populated with data, or with the way the hierarchy structure is created. In order, however, to pinpoint the cause of the problem, you can consider opening a formal support ticket, and sending us a small working project, demonstrating the issue. We will review it locally, and get back to you with additional information.

Best wishes,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dave
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or