Hello, in my 20 row by 5 column grid I would like the last column to take up all remaining space in the grid, but when I specify width=100% in the column, I get a horizontal scrollbar and a vertical scrollbar that overlaps the last column. It also will not let me increase the size of the last column. I can decrease, but not increase. the grid width is not set, the framestyle is 100%. Also my grid is in a td tag. I suspect either I've got something messed up with grid and displaylayout, or something in the table that the grid is in is overriding it. The behavior is the same in ie6 & ie7
I tried resizing manually in my ResizePage javascript event and after I size the grid to its container I call this:
(stupid question - how do you paste w/o all the line breaks?)
(Is there a better way to get the id of a column rather than hardcoding it like this?)
igtbl_resizeColumn(grid.Id, abstractColId, currentSize[0]-200 - 450); // just playing around with the size here
for reference, here is what my displaylayout and framestyle look like
AllowSortingDefault="No" BorderCollapseDefault="Separate" ColWidthDefault="100"
NoDataMessage="" RowHeightDefault="20px" RowSelectorsDefault="Yes" ScrollBar="Auto"
ViewType="Hierarchical" XmlLoadOnDemandType="Synchronous">
Font-Size="8.25pt" Height="100%" Width="100%" >
</FrameStyle>
I'm sorry I don't know how to solve your basic question, but:
tom4336 said: (stupid question - how do you paste w/o all the line breaks?)
That's not a stupid question; it's an annoying shortcoming of these forums. When I paste code, I go through it manually, replacing CrLf's with Lf's, and entering the spaces required to restore indentation.
Please feel free to post a gripe over in the WebSites forum: http://forums.infragistics.com/forums/67.aspx. (You won't be the first.)
I'm still trying to solve my original problem - I can resize all the columns except for the last one. I can make the last column smaller, but not bigger (even after making it smaller). I thought I could sneak it by QA, but they were sneakier ("how come you can resize all the columns except the last one?)
I've at least discovered that the problem goes away when StationaryMargins is set to "no" rather than "header", however this is not a good solution as I actually want the header fixed. I'll ping support tomorrow if no one here knows what's going on.
tom4336 said:I'll ping support tomorrow if no one here knows what's going on.
Unfortunately, no. And I didn't contact supoort like I said I would.