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

How to Sort Mastertable and detail tables seperately

1 Answer 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Deja vu
Top achievements
Rank 1
Deja vu asked on 18 Apr 2014, 11:36 AM
Hi,I have a RadGrid that has a mastertable and detail tables. Detail tables are loading with "DetailTableDataBind".

I want to sort mastertable and detail tables but their data structure are different. When i try to sort detail table only, it worked. but when i added a sort function to mastertable, it overrides the detail tables' sort function.

Can i sort them seperately with different functions.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 22 Apr 2014, 12:34 PM
Hi Deja vu,

I'm afraid this is not possible because that is the default behavior of the MasterTable to override the DetailTable's sort, paging, filter functionalities. According to the master table get sorted, the detailtable loses its sorted order.
Please have a look at the following articles for more help:
RadGrid and MasterTableView Difference
Understanding hierarchical grid structure

Thanks,
Shinu
Tags
Grid
Asked by
Deja vu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or