|Automatic row resizing [message #1088201]
||Fri, 16 August 2013 18:54
| Brent Weatherly
Registered: August 2013
I know that there has been some discussion about automatically resizing rows and columns, and I'm also aware that this is probably not formally supported. However, implementation options exist, and we have an application that includes images in the table and thus requires row and column resizing.
Long story short, I have a reasonably functional implementation in place, but I'm having issues resizing the last 1-2 rows of a table when the table is larger than the size of the viewport. The code iterates over all rows in the selection layer, converts the selection layer row position to that of the viewport, and then creates and runs an "InitializeAutoResizeRowsCommand" command. It works for all rows except the last 2.
Doing a fair amount of digging, it seems to be related to the height of the column header. I created my own "CompositeLayer" that does not include a column header (or corner layer) and all rows resize correctly. When I use the standard "2x2" GridLayer, it fails.
I have screen shots and the code if anyone is interested. Does anyone have any ideas?
Powered by FUDForum
. Page generated in 0.05069 seconds