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

How to change Add new record display mode in rad grid

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Trs
Top achievements
Rank 1
Trs asked on 03 Jan 2013, 09:31 AM
Hi,
i'm using  Auto-generated Edit Form to insert record to the data base.I have 20 text boxes to insert data.Now all the text boxes are display in one column (after one by one).I want to display this tetboxes using two columns.(Something like colspan 2). How can i do this ?.

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 03 Jan 2013, 11:09 AM
Hello,

Please check below link/demo.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/multicolumneditform/defaultcs.aspx

OR

Please check ColumnNumber and EditFormColumnIndex in below code snippet.

<MasterTableView CommandItemDisplay="Top" EditMode="EditForms">
                <Columns>
                    <telerik:GridBoundColumn DataField="ID" UniqueName="ID" HeaderText="ID" EditFormColumnIndex="0">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name" EditFormColumnIndex="1">
                    </telerik:GridBoundColumn>
                    <telerik:GridEditCommandColumn>
                    </telerik:GridEditCommandColumn>
                </Columns>
                <EditFormSettings ColumnNumber="2">
                </EditFormSettings>
            </MasterTableView>

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Trs
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or