문제

I trying to update code from extjs2 to extjs4, but I have an error and something wrong with grid.

var grid = new App.grid.GridPanel({
    store: store,
    columns: gridColumns,
    frame: false,
  //autoExpandColumn: 'name',
    autoHeight: true,
    loadMask: true,
    bbar: pagingBar,
    viewConfig: {
        stripeRows: true,
        scrollOffset: 2,
        grid: {
            isTree: false
        }
    }
});

I had a problem with 'isTree' property before, so, I added this property that would move on, but now, Google Chrome return error in ext-all.debug.js 102947 line::

 me.selModel.view = me;

올바른 솔루션이 없습니다

다른 팁

I am pretty sure you should not set grid property in your vieConfig although its difficult to tell whats happening because you are extending your own class not the default grid panel. There is no problem with isTree property typically so get rid of unnecessary configs - its how you get yourself in trouble :)

If you just follow along from an example you'll see the config lines are minimal. And I snuggest you do the same.

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