Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

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 bpcHandleColumn
Ext.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:

handlecolumn

Keywords: