Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datagrid column properties
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Datagrid column properties
Miscellaneous
Thread ID:
00889417
Message ID:
00889417
Views:
70
I have a form with a grid and some simple data binding like this:

this.grdTest.SetDataBinding(myData, null);

The form displays myData in the grid, but I have not set a TableStyle or ColumnStyle Collection, so the grid just displays all the data, which is what I want.

The question is, the number of columns in this grid will vary based upon different calculations. So can I access the column properties at run time?

I would like to set Alignment and Width, but I don't know how. Any help is greatly appreciated.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Next
Reply
Map
View

Click here to load this message in the networking platform