HTML CSS Reference/HTML Attributes Reference/datapagesize

Материал из Web эксперт
Перейти к: навигация, поиск

"datapagesize" Example

    
<HTML>
<head><Title>Example For datapagesize</Title></head>
<BODY>
<table bgcolor="#00ffff" 
       border=1 datasrc="#dataSrc" 
       datapagesize="10">
       <tr>
          <td>
          <input type=textbox size=30 value="This is the first record" datafld="model"></td>
       </tr>
       <tr>
          <td>
          <input type=textbox size=30 value="This is the second record" datafld="price"></td>
       </tr>
</table>
<object id="dataSrc" 
        classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
        <param name="DataURL" value="carMaker.txt">
        <param name="FieldDelim" value="\">
        <param name="RowDelim" value="\">
</object>
</BODY>
</HTML>



datapagesize is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<table>                                                       |
+----------------+--------------------------------------------------------------+



"datapagesize" Syntax and Note

Note:
    
This attribute sets the number of records to be displayed in a table. 
You can define the number of records to display as a "page".
    
Syntax:
    
<table datapagesize="value"> . . . </table>