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

How to add Header in DetailTable of RadGrid

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zain
Top achievements
Rank 1
Zain asked on 18 Sep 2014, 05:30 PM
Hi

I have simple html header with css style, i want to add this
header to hierarchical/inner (detail tables) grids in 2nd and 3rd level
in telerik grid, how can i do this.

See the image, will help you in understanding the question.
https://www.dropbox.com/s/cse2w3d85vbgrzh/LeaveTypeSetup.png?dl=0

Thanks in advance.

Regards,
Zain

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 23 Sep 2014, 09:20 AM
Hi Zain,

In order to achieve the described behavior you could use CommandItemTemplate for the Master and Detail tables in the RadGrid. In the template you could add the controls that you need. Check out the following online demo that illustrates the approach.

In the demo there is only MasterTableView, however the CommandItemTemplate could be defined in a similar way for the DetailTableViews in the RadGrid.


Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Zain
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or