possible column width bug?

Nov 4, 2008 at 8:02 PM
I have a grid set to a data table, and I set all the column widths in the autogeneratingcolumn event.  I made a change to my query, and the widths stopped working.  All the columns were sized to fit to the width of the screen.  Since my query has several fields, all the column widths became really small. 

After looking at the changes to my query, I noticed I accidentally selected a field twice.  After I removed the duplicate from my query, it started working fine again.  To verify the problem, I added another duplicate field in my select statement, and the error came back.  It appears if you have 2 or more columns with the same field name, the column widths get messed up.

It's not a problem for me, since I accidentally typed in the field twice.  I just thought I'd report a possible bug.

Nov 6, 2008 at 1:44 PM
hm.. I'm not able to repro.  Would you mind showing a code snippet.