You are here: Reference > HTML > attributes > dataPageSize (table)

dataPageSize attribute (table)

Browser support:
Sets the number of records that can be displayed in a table when data binding is used.
In HTML, only Internet Explorer supports table creation dynamically from XML. If you want to implement similar functionality in other browsers, you need to use JavaScript. For further details, see the page for the XMLHttpRequest object.
JavaScript page for this attribute: dataPageSize. You can find other example(s) there.

Possible values:

Integer that sets the number of the rows in the table.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the dataPageSize attribute:
<xml id="movies">
<?xml version="1.0"?>
            <name>Clark Kent</name>
            <name>Lois Lane</name>

<table width="100%" cellpadding="0px" cellspacing="2px" border="1px" datasrc="#movies" datapagesize="2">
            <td><span datafld="name"></span></td>
            <td><span datafld="jobtitle"></span></td>
            <td><span datafld="born"></span></td>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content