How to define COlumn Width ????

G

Guest

Dear all,

I have a Datagrid control which bind to a dataset during runtime.
How can I set the width of the Column of the grid dynamically .

I could not find any width property for columns

Thnaks for your help

regards
serge
 
C

Chris Mayers

Have a look at TableStyles, GridColumnStyles and (for example)
DataGridTextBoxColumn

You need to declare a TableStyle for your grid which contains your column
widths...

Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top