Search code examples
extjs4

alternative to fitColumns() in Ext JS 4


I am trying to dynamically fit columns in the grid. Is there anything in Ext JS 4 which resizes each column to fit the grid like method fitColumns() in Ext JS 3.4? thanks


Solution

  • If any one of grid columns has flex:1 then the columns are resized to fit the grid width.