Hi,
I have a webgrid in which I am using fixed column widths (the same behavior occurs when I use unfixed widths too). It seems to me that when I leave a page and come back to it, the ordering of the columns is the same as before (any changes in the order of the columns, moving fields left or right, etc). The issue occurs when occassionally I resize a column or change the order, go to a different page (in my case, I click Menu Home), then return to the page. It appears as if the first 2 columns are taking up the entire space. The rest of the columns are "accordian"ing at the end. When I manually resize the columns to where I can see them all again, go to a different page, and come back, the two columns are there and the rest are accordianed.
Where is it storing this display information, and how do I clear it out. I want the exact same thing to show up every time a user visits the page, whether or not he or she has changed the column order previously.
Thanks,
Jud
Hello jkillion,
Have you set the default width for columns in the grid?
Patrick
I have this code:
grdUnit.Columns.FromKey("UNITNUMBER").Width = New Unit("60px")
Is there where else I should set the default width?