-
Book Overview & Buying
-
Table Of Contents
Learning Ext JS_Fourth Edition
By :
The Grid's plugins provide custom/extra functionality for the component.
Overall, plugins in Ext JS don't need to extend another class, but the idea/purpose is to give extra functionality and behavior to existing components.
For the Grid panel, we have some plugins already implemented in the Ext JS library. The most commonly used are Ext.grid.plugin.CellEditing and Ext.grid.plugin.RowEditing.
These two extend Ext.grid.plugin.Editing, and their primary function is to provide the grid with the ability to make cells and rows editable.
Ext.grid.plugin.Editing should never be used directly because it is the base class for Ext.grid.plugin.CellEditing and Ext.grid.plugin.RowEditing.
Also, to make the columns editable, it is recommended to set the editor property in the column configuration.
This plugin makes a single cell in our grid editable. We can edit only a single cell at a time. The editor is defined in the editor property on each of the column's configurations...
Change the font size
Change margin width
Change background colour