You can place a dropdown in the Grid pager using pager template feature along with the default pager and on change event of the dropdown, change the page size through set model of Grid.
Initially, append some li elements in the div tag and assign them as a targeID for the ejDropDownList and also include the input element in the e-pagercontainer.
Within the dataBound event render the DropDownList and bind change event. In the change event, update the pageSize of the Grid through set model as follows.
The following screenshot will be displayed as the result of the above code example.
Figure: Dropdown in the Grid’s pager using pager template.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.