Class CmsCellTableUtil
java.lang.Object
org.opencms.ade.sitemap.client.alias.CmsCellTableUtil
Various static utility methods for dealing with cell tables.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
ensureCellTableParentResize
(com.google.gwt.user.cellview.client.CellTable<?> table) Ensures that surrounding scroll panels are notified when a table changes size.static com.google.gwt.safehtml.shared.SafeHtml
formatErrorHtml
(String error) Formats the HTML for the error column of a cell table given an error message.
-
Field Details
-
STATUS_ERROR
CSS class for the error text. -
STATUS_OK
CSS class for the 'Status OK' text.
-
-
Method Details
-
ensureCellTableParentResize
public static void ensureCellTableParentResize(com.google.gwt.user.cellview.client.CellTable<?> table) Ensures that surrounding scroll panels are notified when a table changes size.- Parameters:
table
- the table for which the parent scroll panels should be notified
-
formatErrorHtml
Formats the HTML for the error column of a cell table given an error message.- Parameters:
error
- the error message (null for no error)- Returns:
- the SafeHtml representing the contents of the error cell
-