Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2014 Microsoft