Tables & Rendering


How can I get all rows rendered in the VScrollTable? I’ve setPageLength to 0, to ensure that all items are loaded, but I’d like to force all the <TR’s> to actually get rendered.



(This is to allow a GUI testing tool to verify the contents of row “N”)


I think it should be enough that you set the pageLength to 0 and the table height to undefined. This should make it render all rows, but you lose the scrolling. You can get the scrollbars back with a bit of CSS, but the column width calculations go a bit wrong after that. Anyway, this might be sufficient for your testing purposes.

// Java
Table t = new Table();

// CSS
.v-table-body {
    height: 200px !important;