I need to add pagination feature to few of my DataGrids and I am just moving ahead step by step. To begin with I tried setting 'rowsPerPage' attribute of DataGrid to some value, say 5. But it has no impact on the displayed grid. I mean number of rows displayed are more than the value set to 'rowsPerPage'.
<table dojoType="dojox.grid.DataGrid" store="tags" rowsPerPage =3
style="width: 100%; height: 500px;">
<thead>
<tr>
<th width="150px" field="dept">Namey</th>
<th width="150px" field="name">Depty</th>
</tr>
</thead>
</table>
Please tell me how to show only 3 results only per time .
I have been searching web since morning but to no avail. Any inputs will be highly appreciated.
Please help .