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

[Solved] RAD Grid control - Indentation of Detail table

2 Answers 332 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Viswanathan
Top achievements
Rank 1
Viswanathan asked on 25 Jun 2009, 08:10 AM
Hi,

Does any one of you have answer for providing user need indentation for the Detail table in a RAD Grid control? By default, it is coming with some depth of indentation, but I need more room for the detail table to differentiate it from the master table.

The RAD Grid version is 4.6 

Hope someone have answer for this.

Thanks in Advance
Viswa

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Jun 2009, 09:04 AM
Hello Viswa,

To increase the indentation for the detail table, you can set styles in the cssclass as shown in the example below:
aspx:
 <radG:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" > 
      <MasterTableView CommandItemDisplay="Top" DataSourceID="SqlDataSource1"
            <DetailTables> 
                <radG:GridTableView DataSourceID="SqlDataSource2" CssClass="detailTable"

css:
 .detailTable 
    { 
      margin-left:40px !important; 
    } 

Thanks
Princy.
0
Viswanathan
Top achievements
Rank 1
answered on 25 Jun 2009, 04:12 PM
Hi Princy,

It is working beautifully :-) Thanks a lot for your help.

Regards
Viswa
Tags
Grid
Asked by
Viswanathan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Viswanathan
Top achievements
Rank 1
Share this question
or