Groups | Blog | Home
all groups > asp.net > may 2008 >

asp.net : set the width of dataGrid column


Joko suprianto
3/13/2005 12:13:11 AM
Hi, i want to ask how to set the width of each of the
column on the datagrid. im using vb.net
because from what i know in vb.net we have
DataGrid1.TableStyles(0).GridColumnStyles(2).width = 150
that can set the width in datagrid column, but i couldnt
use this method in asp.net

Joko
3/13/2005 6:54:26 AM
But i want to set it dynamically, do you know how to do
it?

[quoted text, click to view]
Nicole Legroe
3/13/2005 12:31:10 PM
You can set the width of each column in the Property Builder of the datagrid
Define the columns you want in the Columnstab
set the width in the Formattab

"Joko suprianto" <anonymous@discussions.microsoft.com> schreef in bericht
news:662501c527a4$7f58e820$a501280a@phx.gbl...
[quoted text, click to view]

Maarten
12/8/2005 9:01:25 PM
Hi i have the same problem
did you find an answer to youre question?.


From http://www.developmentnow.com/g/8_2005_3_0_0_190539/set-the-width-of-dataGrid-column.htm

Posted via DevelopmentNow.com Groups
Maarten
12/8/2005 9:02:26 PM
Hi i have the same problem
did you find an answer to youre question?.

From http://www.developmentnow.com/g/8_2005_3_0_0_190539/set-the-width-of-dataGrid-column.ht

Posted via DevelopmentNow.com Group
Maarten
12/8/2005 9:02:35 PM
Hi i have the same problem
did you find an answer to youre question?.

From http://www.developmentnow.com/g/8_2005_3_0_0_190539/set-the-width-of-dataGrid-column.ht

Posted via DevelopmentNow.com Group
Sarah
5/6/2008 9:09:38 PM
this DataGrid1.TableStyles(0).GridColumnStyles(2).width = 150
can use in vb.net??? i'm trying but i can't. please help me.

From http://www.developmentnow.com/g/8_2005_3_0_0_190539/set-the-width-of-dataGrid-column.ht

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button