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

Can control widths and hieghts be modified in Details Record?

2 Answers 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 19 Aug 2010, 03:04 PM
Hi,

Can the column widths be changed when editing the details of a record? By that I mean, if you have a master details scenario and the edit button is clicked on the master record, a detail record of several columns is displayed for edit. The column widths in the details record all seem to be the same size and I can't seem to figure out how to modify the column width. I.e. I may have a detail item that is a textbox that can be 200 characters long. Also in the details I have a "Notes" text area. I would like that to be several rows high. Can this be done with the defualt set up of the radgrid? I understand that I could specify a table but I just wondered if there was an easier way using the telerik:GridBoundColumn, telerik:GridTemplateColumn of the Columns section of the MasterTableView section of the RadGrid

Thanks
Dan R.

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 24 Aug 2010, 02:35 PM
Hi Dan,

In case you are using auto-generated edit form for editing, you can add declarative column editors for the desired columns. Then you can set the desired dimentions of the edit form controls in the editors declaration.

For more information on the grid column editors, you can refer to the below articles:

http://www.telerik.com/help/aspnet-ajax/grdstylingthroughdeclarativecustomeditors.html
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

Kind regards,
Iana
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Dan
Top achievements
Rank 1
answered on 30 Aug 2010, 03:41 AM
Thanks lana. I'll give it a try

Dan
Tags
Grid
Asked by
Dan
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Dan
Top achievements
Rank 1
Share this question
or