Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid columns » how to add

Status
Not open for further replies.

Fragmentation

Programmer
Aug 20, 2003
2
NL
Hi, I've been searching around the internet for an answer, but I can't find it anywhere. I have a Datagrid in my Windows Application. I want to add a few columns, each with a different width, I've been told that I should take a look at TableStyles/GridColumnStyles, but with that, I still can figure out how to add the columns.

I have a table style, and added a few columns to that table style, but how can I show the table style. How can I see the columns and add rows.

I did find a way to add columns, but with that, I couldn't give it a width, they switched to the preferred size, and that wasn't good.

Thanks in advance,
Fragmentation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top