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

Is their any way to rebind/refresh Details table in grid

2 Answers 271 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sumanth
Top achievements
Rank 1
Sumanth asked on 28 Apr 2011, 11:52 AM
Hi Sir/Madam,

Below is my requirement.

customer places orders for products. each order has to travel a sequential workflow like order placing, order approving etc. In my screen am using MasterTableView and DetailTables sections of grid to display Customer and Orders information.

When user clicks/expands customer's record, all order information will be displayed in GridTableView of DetailTables section. Based on order's status user did some actions out side of the grid. Based on the user's action, order status will be modified.

Here what I want is is their any way to bind/rebind details table only so that user can be able to view modified status directly.

 Anyone please me in this regard, thanks in advance.

Thanks & Regards,
Sumanth

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 02 May 2011, 01:25 PM
Hello Sumanth,

 The following code shows how to rebind detail table.

GridTableView tableView = (GridTableView)RadGrid1.MasterTableView.Items[0].ChildItem.NestedTableViews[0];accessing child gridview of first parentitem
nestedTableView.Rebind();//binding detail table of first data item  

Thanks,
Shinu.
0
Sumanth
Top achievements
Rank 1
answered on 06 May 2011, 12:44 PM
Thanks Shinu...
Your code worked for me
Tags
Grid
Asked by
Sumanth
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sumanth
Top achievements
Rank 1
Share this question
or