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

keeping the width constant

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 20 Jan 2009, 03:38 PM
How do I keep the width of the grid constant?

I have specified the width of the grid and the mastertableview and the width of the individual columns. Bo if the item text of a single column increases in length the width of the grid increases thereby introducing a horizontal scroll on my page. Please help.
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Jan 2009, 05:07 AM
Hi Indranik,

Try setting the RadGrid MasterTableView property "TableLayOut="Fixed" and see whether its working as you expected.

ASPX:
<MasterTableView Width="800" datasourceid="SqlDataSource1" TableLayout="Fixed" CommandItemDisplay="Top" > 

Thanks,
Shinu.
Tags
Grid
Asked by
Indranik
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or