문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top