471,356 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

Repeated DataGrid Columns


I have a winform datagrid that has an ArrayList as DataSource.
The problem is that now i have to duplicate a column in the datagrid. My
first idea was to create another ColumnStyle with the same Mapping name.
Well, it did not work, because a datagrid cannot have two columns with the
same mapping name.
The other idea was to create a "logical column" and insert the values in the
DataGridTextBoxColumn paint event, but as the column is not a property of the
class within my ArrayList the event is not even fired.

I would not like to create another Property to the class cause the columns
in my datagrid can be placed in runtime.

Any ideas of what can be done?

Aug 15 '05 #1
0 972

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jim Heavey | last post: by
4 posts views Thread by tshad | last post: by
2 posts views Thread by CSL | last post: by
7 posts views Thread by CanoeGuy | last post: by
reply views Thread by Vinicius | last post: by
7 posts views Thread by Arpan | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.