O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with context menus

A context menu is a menu that contains actions that are specific to the item the cursor is pointing at. These menus are normally accessed through the right mouse button.

This recipe builds upon the example Adding a context menu to grid rows from Chapter 8, Displaying and Editing Tabular Data by showing a context menu when the user right-clicks on a row. Depending on the values in the selected row we will enable/disable certain options from the menu. The final result can be seen in the following screenshot:

Working with context menus

Getting ready

To get us up and running quickly we will reuse the Invoices Model and Store that we used in the previous ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required