jbotts
asked on
datapagesize property is not working
The following code will not increase the number of records in the table staffTable:
The table ID is "staffTable" with an attribute of datapagesize="3". Trying to increase the size of the table to include all the records in a table. The functions staffTable.firstPage() works, but not setting the property datapagesize=999999.
<p>
<button onclick="staffTable.datapa gesize=999 999;
staffTable.firstPage()">Sh ow All</button>
<button onclick="staffTable.datapa gesize=3"> Show Pages</button>
</p>
The table ID is "staffTable" with an attribute of datapagesize="3". Trying to increase the size of the table to include all the records in a table. The functions staffTable.firstPage() works, but not setting the property datapagesize=999999.
<p>
<button onclick="staffTable.datapa
staffTable.firstPage()">Sh
<button onclick="staffTable.datapa
</p>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
bluV11t:
Neither of the suggestions worked.
jbotts
Neither of the suggestions worked.
jbotts
How many records are there? Have you tried setting it to f.ex. 20? Maybe you cannot set it higher than max number of records...
You could also try
document.getElementById('s taffTable' ).datapage size=999;
document.getElementById('s
ASKER
Actually I tried this again and it worked.
Thanks,
Jim Botts
Thanks,
Jim Botts
<button onclick="alert(staffTable.
staffTable.firstPage()">Sh