Re: Getting Height of cell table
Managed to find a solution: updating it below. I am adding a handler to the celltable when the celltable updates it rowdata automatically a valueChange event is fired, so making use of it. Had to go thru the source code for this. .addHandler(new ValueChangeHandler() { @Override public void onValueChange( ValueChangeEvent event) { CellTable table = (CellTable) event.getSource(); String height = 231 + table.getOffsetHeight() + "px"; Window.alert("Value Change Height " + height); } },ValueChangeEvent.getType() ); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DFvW8UQ8ge4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Getting Height of cell table
Any Solutions for this problem? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XlmKdD5ydPIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Getting Height of cell table
Hello, Is there any reliable way of getting the height of a cell table when it changes? I have a navigation panel to the left of my main content panel. If the main content is shorter than the current height of the nav panel I set it's height in pixels; when the content is at least as tall I set the height back to "auto". The problem that I'm having is that at the point I'm calling "content.getOffsetHeight();" (content is a vertical panel that contains the cellTable) the cell table is small. Then moments later the cell table fills with rows and is big again. Is there any event that I could add a handler to that would fire when the cell table actually draws? I'm using 2.1.0. I'd happily change to 2.1.1 but this issue, which exists in 2.1.0 but is worse in 2.1.1 is keeping me from upgrading. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.