Summary: | [DataGrid] Data Window | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Luca Conte <bazu> |
Component: | Sandbox Taglibs | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other |
Description
Luca Conte
2004-09-23 14:02:08 UTC
Hi The DataGrid tag supports the data windows concept. To do this you must send the data subset to the datagrid "items" attribute and set the "custom" attribute to "true" in the paging element: <paging size="20" custom="true" nextUrlVar="next" previousUrlVar="previous"/> The size defines the window size. The datagrid knows when the window has ended when the size of the subset data is below the window size. This is a better way to do it than using a count query because between the count and the subset query someone may have inserted a new row. Nestor, If this bug didn't require any change in the code, please mark it as invalid. -- Felipe Bug invalid Invalid bug. No code change required. |