You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jason Novotny (JIRA)" <ji...@apache.org> on 2009/12/30 09:29:29 UTC
[jira] Updated: (WICKET-2656) Ability to add CSS style to table
body in DataTable
[ https://issues.apache.org/jira/browse/WICKET-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Novotny updated WICKET-2656:
----------------------------------
Attachment: DataTable.patch
> Ability to add CSS style to table body in DataTable
> ---------------------------------------------------
>
> Key: WICKET-2656
> URL: https://issues.apache.org/jira/browse/WICKET-2656
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4.5
> Reporter: Jason Novotny
> Fix For: 1.4.5
>
> Attachments: DataTable.patch
>
>
> Being able to dynamically adjust css styles in the table body <tbody> of the DataTable is essential for a lot of advanced functionality e.g. adding a scrollbar to the contents of a table (which also eliminates the need for pagination and enhances usability for certain use cases). Sure one can override DataTable.html and hardcode a css style in the body element, but that is not enough. It must be dynamic and that requires the DataTable.java code to be changed. In the event that a client just provides a complete implementation of DataTable.java , the Toolbar classes can no longer be used since they reference the DataTable concrete class instead of an interface. I provide a patch to fix this issue and augment the DataTable with an extra method: void setTableBodyCss(String cssStyle);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.