Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.4
-
None
Description
The example in the DataTable javadoc does not even compile. It says:
------------- snip ------------
- DataTable table = new DataTable("datatable", columns, new UserProvider(), 10);
- table.add(new NavigationToolbar(table));
- table.add(new HeadersToolbar(table));
- add(table);
-
-
-
-
-
-
-
-
-
-
-
- snip ------------
-
-
-
-
-
-
-
-
-
-
-
It should rather be:
------------- snip ------------
- DataTable table = new DataTable("datatable", columns, new UserProvider(), 10);
- table.addBottomToolbar(new NavigationToolbar(table));
- table.addTopToolbar(new HeadersToolbar(table, null));
- add(table);
-
-
-
-
-
-
-
-
-
-
-
- snip ------------
-
-
-
-
-
-
-
-
-
-
-