Welcome Guest Search | Active Topics | Sign In | Register

Grid column align Property Options
Allender
Posted: Thursday, July 25, 2013 8:14:23 PM
Rank: Member
Groups: Member

Joined: 9/13/2011
Posts: 11
Im using the grid in an application.

Is there an align propert for the grid column.

Also can I set the column names at run-time.

Thanks
eo_support
Posted: Thursday, July 25, 2013 9:29:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

This is not alignment settings directly on the GridColumn. You will need to use CSS with the GridColumn's CellStyle property. For example, if you include "text-align:right" in CellStyle, then the cell contents will align to the right.

Thanks!
Allender
Posted: Friday, July 26, 2013 10:33:26 PM
Rank: Member
Groups: Member

Joined: 9/13/2011
Posts: 11
Worked ! many thanks.

Any ideas on my second question - Can I set the column names at run-time.
eo_support
Posted: Friday, July 26, 2013 10:42:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Sorry I missed the second question. I am not aware of anything that would prevent you from setting the columns' name at runtime.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.