You can use a meta-template to determine a standard look-and-feel for an entire family of templates. For example, you can use a single list meta-template to generate the look of any or all of the list views in your site. The zeroCode environment includes meta-templates for all the single-table operations (adding, editing, listing, searching and viewing), the two-table browse-by pages, and the custom UDMs. Click here to read more about meta-templates.
  In all of these cases, when the content of a vector is displayed as a table, the use of meta-templates includes the following facilities in the generated templates:
 

Sorting

  • You can sort the table on any column or combination of columns. The meta-template generates "sorting arrows" in the column heading of each column, which when clicked, produce the data sorted on that column.
  • You can sort the table on multiple keys, e.g., by state ascending, and then by zip code descending. This facility is used by the search UDM to offer the user control over the ordering of the search results.
  • The sorting is accomplished via a simple encoding of the sort key. The sort key is specified as a parameter with a name such as order__by__nn, where nn is the id of the vector node to sort. The value of the parameter is a sequence of comma-separated node ids. In this sequence, an unqualified node id represents an ascending sort, and a node id prefixed with a minus sign represents a descending sort. To illustrate, suppose that you have a UDM named custom/salesData, and this UDM contains a vector node named sales with id 3. Suppose further that the vector node has children named city, state, and zip, with ids 8, 9 and 10 respectively. To retrieve this UDM's content sorted by state ascending, then city descending, and then zip ascending, you need only access the URI.


    custom/salesData.html?order__by__3=9,-8,10

    You can synthesize such a URI wherever you need sorted presentation. For instance, you can create a JavaScript menu whose entries, when clicked, invoke URIs in the above form, thus presenting sorted data.
  Paging
If you want to go to a particular page, you can use the "go" link by specifying the particular page number. The ribbon will display roughly 15 links. If the data retrieved spreads to over 15 pages, then the pagination links will appear in intervals.
  Hyperlink
- If you need to modify any specific data, you can use the hyperlink to take you to the desired location
- Click on any specific data that needs to be changed. You can modify it and save the changes
- The hyperlink to the data is restored as before