Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.5.7
-
None
-
None
Description
DataTable will emit an empty <tbody> when there are no entries to show. However, when using it with a NoRecordsToolbar this will result in a table with only data in thead and tfoot.
In combination with the css border-collapse: collapse; this will not work for some reason - there must be some data in the tbody for it to work.
So the tbody should contain at least an empty <tr/> tag instead of nothing if there are no results to show.
Attachments
Issue Links
- duplicates
-
WICKET-4153 The tbody section of a DataTable is empty when no records are returned by the provider.
- Resolved