new ludo.paging.NavBar(config)
A view containing buttons and views for navigating in a dataSource.JSONArray.
default children: ['paging.First','paging.Previous','paging.PageInput','paging.TotalPages','paging.Next','paging.Last']
You can customize which views to show by using the children constructor property.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object |
- Source:
Example
children:[ { type:'grid.Grid', columnManager:{ ... }, dataSource:{ url:'data-source/grid.php', id:'myDataSource' } }, ... ... { type:'paging.NavBar', dataSource:'myDataSource' } ... } where 'myDataSource' is the id of a dataSource.JSONArray object used by the Grid above.
Extends
- View