Thursday, July 2, 2015
How we can apply pagination in grid panel ?
using Ext.PagingToolbar plugin, we can implement pagination to a grid panel
syntax:
new Ext.PagingToolbar({
pageSize: 25,
store: store,
displayInfo: true,
displayMsg: 'Displaying topics {0} - {1} of {2}',
emptyMsg: "No topics to display",
})
// trigger the data store load
store.load({params:{start:0, limit:25}});
Subscribe to:
Post Comments (Atom)
What is restrict option in directive?
The restrict option in angular directive, is used to specify how a directive will be invoked in your angular app i.e. as an attribute, class...
-
using config option, renderer: fnCellColor where fnCellColor is method to apply color to a cell.
-
Objects have "prototypes" from which they may inherit fields and functions. <script type="text/javascript">...
No comments:
Post a Comment