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

Dynamically changing detail row

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gareth
Top achievements
Rank 1
Gareth asked on 24 Nov 2015, 04:33 PM

Hi,

We are using a detail row on one of our grids, but have noticed that there are a couple of issues with the way we have done it and I am wondering if there is a way to do the following:

 1. When we re-order the columns on the main grid, re-order the same columns on the detail row.

 2. When we re-size the columns on the main grid, re-size them on the detail row.

 The problem is that we have hard coded the order currently, but are allowing the user the ability to re-order, thus presenting us with the issues above.

Is there an easy way of achieving the above, or will it be a case of manually manipulating them both with javascript?

Cheers,

Gareth

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 26 Nov 2015, 09:57 AM

Hello Gareth,

 

Both Grids are totally disconnected from each other. Reordering of column in master will not reorder columns in the detail template.

 

You can handle columnReorder event on the master and reorder column on detail.

 

For re-sizing however there isn't API. Column size can only be changed by user interaction by enabling resizable option.

 

Regards,
Nikolay Rusev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Gareth
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or