Handle Column
The BPC provides a column that allows users to change the order of rows in the Ext.grid.Panel.
Usage
To use this column, the plugin gridviewdragdrop must be integrated into the Ext.grid.Panel.
The column is referenced in the column configuration via bpcHandleColumn
Example of using the
bpcHandleColumnExt.define("example.handlecolumn", {
extend : "Ext.grid.Panel",
viewConfig : {
plugins : {
ptype : "gridviewdragdrop"
}
},
columns : [
{
xtype : "bpcHandleColumn"
},
{
localized : {
text : "CORE_NAME"
},
dataIndex : "name",
flex : 1
}
]
});
In the interface, the bpcHandleColumn looks as follows:
Keywords: