HTML Layout Pages and Page Templates within a GEN:Table code generation tag.
|
Attribute |
Required |
Description |
||||||||||||||||||||
|
Name |
Yes |
The name of this tag. This name must be unique within the file and cannot contain spaces. |
||||||||||||||||||||
|
Type |
Yes |
The type of this tag. There are ten different types of pagination controls split into two groups: Display-only controls: These controls display information about the current page being displayed.
Action controls: The action controls are attached to a button or a text box to enable the application user to change the items displayed on the table.
|
<GEN:Table Name=”EmployeesTable”>
<!-- pagination control -->
<GEN:Button
Name=”FirstPageButton”/>
<GEN:Pagination Name=”FirstPage” Type=”FirstPage”/>
< GEN:Button
Name=”PreviousPageButton”/>
< GEN:Pagination Name=”PreviousPage” Type=”PreviousPage”/>
< GEN:Pagination
Name=”CurrentPage” Type=”CurrentPage”/>
< GEN:Button
Name=”NextPageButton”/>
< GEN:Pagination Name=”NextPage” Type=”NextPage”/>
< GEN:Button
Name=”LastPageButton”/>
<
GEN:Pagination Name=”LastPage” Type=”LastPage”/>
<table>
…
<GEN:ItemTemplate>
…
</GEN:ItemTemplate>
…
</table>
</GEN:Table>