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

adding additional data after sql data bind

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 14 Apr 2014, 02:39 PM
Currently have a radgrid containing phone contact information that I populate with data from the database.  What I would like to append to that same grid is more static data (ie phone extensions to various rooms around the building).  Is this even possible to add these additional rows after binding with SQL data?

Attached is what I am trying to accomplish. 

Have a Row of data be the text "Extensions" that spans all the columns and then add a second dataset which contains the various rooms and their extensions. 

Thank you

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 17 Apr 2014, 08:37 AM
Hello Kurt,

Thank you for contacting us.

You can achieve this requirement using CommandItemTemplate with Position Bottom:
http://www.telerik.com/help/aspnet-ajax/grid-commanditemtemplate.html
Alternatively, using footer templates or data item templates:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/detailitemtemplate/defaultcs.aspx

Hope this helps. Please let us know if you need further assistance.

Regards,
Eyup
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
Kurt Kluth
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or