Closed matsbryntse closed 11 months ago
https://bryntum.com/examples/grid/state/
grid.columns.on('change', console.log)
Try using store#move.
Add new 'columnmove' event?
{record: NumberColumn, changes: {…}, source: ColumnStore, type: "beforeupdate"} Events.js:1146 {records: Array(1), parent: Column, source: ColumnStore, type: "beforeadd"} Events.js:1146 {parent: Column, records: Array(1), isMove: true, source: ColumnStore, type: "beforeremove"} Events.js:1146 {action: "remove", parent: Column, isChild: true, isMove: true, records: Array(1), …} Events.js:1146 {action: "remove", parent: Column, isChild: true, isMove: true, records: Array(1), …} Events.js:1146 {action: "add", parent: Column, isChild: true, isMove: {…}, records: Array(1), …} Events.js:1146 {action: "add", parent: Column, isChild: true, isMove: {…}, records: Array(1), …} Events.js:1146 {record: NumberColumn, changes: {…}, batch: false, fromRelationUpdate: undefined, source: ColumnStore, …} Events.js:1146 {action: "update", record: NumberColumn, changes: {…}, batch: false, fromRelationUpdate: undefined, …}
will be fixed in 6.0
https://bryntum.com/examples/grid/state/
grid.columns.on('change', console.log)
Try using store#move.
Add new 'columnmove' event?