GridViewSettings.SettingsPager Property
Provides access to the pager‘s settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ASPxGridViewPagerSettings | An ASPxGridViewPagerSettings object that contains pager settings. |
Remarks
Example
var grid = Html.DevExpress().GridView(settings =>
{
settings.Name = "MyGridView";
settings.KeyFieldName = "ID";
settings.SettingsPager.Visible = true;
settings.SettingsPager.PageSize = 5;
...
});
}
@grid.Bind(Model).GetHtml()
Online Demos
See Also