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

[Solved] Showing EditForm fields in two columns

1 Answer 310 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PM
Top achievements
Rank 1
PM asked on 27 Nov 2009, 10:43 AM
Hi All,

I have a RadGrid with 10 columns, but in EditForm mode i am showing only 6 fields to update.

to show these 6 fields in two columns, i wrote below

<EditFormSettings ColumnNumber="2" CaptionDataField="Period" CaptionFormatString="Edit properties of Period {0}">

but still all the fields are showing in single column in EditForm.

Please help me regarding this.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 27 Nov 2009, 05:51 PM
Hello Praveen,

I posted a sample code snippet and a link to the online demos below:
<MasterTableView AutoGenerateColumns="false">
    <Columns>
        <telerik:GridBoundColumn DataField="C1" EditFormColumnIndex="0" />
        <telerik:GridBoundColumn DataField="C2" EditFormColumnIndex="0" />
        <telerik:GridBoundColumn DataField="C3" EditFormColumnIndex="1" />
        <telerik:GridBoundColumn DataField="C4" EditFormColumnIndex="1" />
        <telerik:GridBoundColumn DataField="C5" EditFormColumnIndex="2" />
        <telerik:GridBoundColumn DataField="C6" EditFormColumnIndex="2" />
    </Columns>
    <EditFormSettings ColumnNumber="3" />
</MasterTableView>

Edit Form with Multiple Columns

Let me know if you need further assistance.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
PM
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or