- Timestamp:
- 07/23/08 09:06:17 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/tests/book/TableExample3.java
r5100 r5113 34 34 table.addContainerProperty("Comments", TextField.class, null); 35 35 table.addContainerProperty("Details", Button.class, null); 36 36 37 37 /* Add a few items in the table. */ 38 38 for (int i=0; i<100; i++) { … … 70 70 itemId); 71 71 } 72 73 / * Show just three rows because they are so high. */72 73 // Show just three rows because they are so high. 74 74 table.setPageLength(3); 75 75 76 // Initially show the 50th item in the top of the table. 77 table.setCurrentPageFirstItemIndex(50); 78 //table.setCurrentPageFirstItemId(initial); 79 76 80 layout.addComponent(table); 77 81 }
