Our blazing fast Grid component built with pure JavaScript


Post by henrique »

Exists a way to change the column position in the grid, in the JS script?


Post by marcio »

Hey henrique,

There is a store to manage the columns, and it's a Tree Store type, so you can use the insert method to change that, as an example:

grid.columns.insert(1, grid.columns.records[3])

https://bryntum.com/products/grid/docs/api/Grid/data/ColumnStore#function-insert

Best regards,
Márcio


Post Reply