Search code examples
extjsextjs6extjs7

Grid shows whitespace area


I'm facing a problem, where a grid with buffered renderer can show a large whitespace area after reloading the store. I found this fiddle in the sencha forum describing the problem. This is still happening in 6.7 and 7.0. Is there any known solution to this problem?


Solution

  • This issue is potentially caused by the reload mechanism you used. The newer documentation of Ext.view.Table.refresh states that it should ony be used when the bufferedRenderer is set to false. Older versions don't contain this hint.

    The fiddle seems to be fixed when I use

    grid.getStore().reload()

    instead of

    grid.getView().refresh()

    in the go-button-handler.

    Greetings