Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

datapagesize attribute | dataPageSize property

Sets or retrieves the number of records displayed in a table bound to a data source.

Syntax

HTML<element datapagesize="p" ... >
JavaScript

p = object.dataPageSize

 

Property values

Type: Integer

The number of records in the table.

Remarks

The firstPage and lastPage methods are used to navigate directly to the first and last pages of a databound table, respectively. The nextPage and previousPage methods are used to navigate sequentially through the pages of a databound table.

Examples

In this example, a text box is bound to the customer_name field supplied by a data source object with an ID of customer. Because the text box is located within a data-bound table, the text box is repeated to display each of the records in the data source. The DATAPAGESIZE attribute on the table limits the display to 10 records.


<table datasrc="#customer" datapagesize=10>
   <tr><td><input type=texbox datafld="customer_name"></td></tr>
</table>

See also

table
Reference
firstPage
lastPage
nextPage
previousPage
Conceptual
Introduction to Data Binding

 

 

Show:
© 2015 Microsoft