Windows XP VB.NET 2003 MultiLine Datagrid HEader Column

Joined
Aug 24, 2006
Messages
1
Reaction score
0
Hello,

I was working on a project in VB.NET 2003 (I am new to software development) and we came across a situation where we could display more columns in the DataGrid if we could split the text in the Column Headers. This could have been done by getting the ColumnHeaderHeight using PropertyInfo(), but this allocation needs to be done dynamically at runtime.

If not at runtime, we should be able to provide a column header width in the TableStyle. But the issue I am facing here is that the header text is set dynamically at runtime, it cannot be set at design time.

Can anyone please help me with this problem. I would really appreciate it if you could provide a detailed code including the classes to be used.

Thanks alot!

Blumen
 

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

Top