| Author: Sajjad Haider 24 Jun 2004 | Member Level: Bronze Points : 0 |
this is good simple but trickey
|
| Author: Leland Usher 14 Jul 2004 | Member Level: Bronze Points : 0 |
Hi, you could also use: ItemStyle-Width="30%" ItemStyle-Align="center" CancelText="Cancel" EditText="Edit" UpdateText="Save" />
|
| Author: Leland Usher 14 Jul 2004 | Member Level: Bronze Points : 0 |
Sorry, the "center" attribute doesn't work, any suggestions on how to ensure the contents are center aligned?
Thanks
|
| Author: Iain Wood 01 Dec 2004 | Member Level: Bronze Points : 0 |
Nice and useful but this stuff is part of it
alignment is done with HorizontalAlign and it works these also work apparently
http://www.netomatix.com/DGItemStyles.aspx
BackColor BorderColor BorderStyle VerticalAlign BorderWidth CssClass Font Width ForeColor Height HorizontalAlign Wrap
|
| Author: Mathew 31 Jul 2008 | Member Level: Bronze Points : 2 |
Description mentioned below helps to set the width of column in datagrid fixed, wcich i had seen in most of the forum
hi ,..just try this in ur code behind
MyGrid.Attributes.Add("style", "table-layout:fixed");
then in HTML View of the gird if you have Label to Display the item in tiemdatbound give style="word-.... : break;"
*.... pls check that, i forgot that , then give column width it will work fine
mathew m mathew - malayalee mankan < Smile – It brings a difference... Live – coz life is everything u have…!!!!!!!!!! />
|