Question

Is there a way to add a column to a grid panel dynamically in Ext JS 3.4?

I'm trying to add a Row Expander column to my grid panel.

Like the one here (The first plugin)

I can do it by modifying the ui.js and manually adding a column (Like the one in the code behind), but I'm trying not to.

Any workaround would be highly appreciated!

Edit: I found this for Ext JS 4. Something similar in 3.4?

Was it helpful?

Solution

In 3.4 you have to use reconfigure method on the grid: http://docs.sencha.com/ext-js/3-4/#!/api/Ext.grid.GridPanel-method-reconfigure

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top