Question
How to apply pagination to the grid?

Answers

This can be done using pagingToolbar() as:
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}});
How to add docked item?
dockedItems: [{
   xtype: 'toolbar',
   items: [{ 
      id:'buttonId', 
      handler: function() { 
         Ext.Msg.alert('title','alertMsg');
      });
   }]
}]   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Business hold the asset with the intend of a) resale b)earning revenue c) Convert into cash
  • Q How can my blu-ray player and tv "boot up" in under a second, but my computer still takes a full minute?
  • Q Please share your ideas on possible methods of free amino acid extraction. Normally we use dil HCl for extraction. I wish to extract from other medium. Can anyone suggest what are the other methods can be employed to get a better yield? Such as using enzyme, supercritical, microwave assisted extraction etc. Do anyone has any experience in this?
  • Q What are technologies we use in DHTML?
  • Q About Virtual functions and their use.
  • Q On the birth anniversary of which legendary sports person of India is the Arjuna Award conferred every year on outstanding sports person by the President of India?
  • Q The cost of one pencil, two pens and four erasers is Rs.22 while the cost of five pencils, four pens and two erasers is Rs.32.How much will three pencils, three pens and three erasers cost?
  • Q What is the difference between sap web ide and other existing development tools (smp appbuilder, sap appdesigner and gateway pa tools) that help developers build sapui5/fiori uis?
  • Q Explain the method to keep noises low in a control system?
  • Q What does s method in Scala String interpolation?
  • Q Article 27 of the Indian Constitution “Freedom as to payment of taxes for promotion of any particular reli- gion” deals with?