Ext.grid.View lost configuration Options in ext 4 (auto-complete)

In one my ext3 application, I use these options for a GridView:

autoFill: true, // makes all columns equal to the width of the hole table forceFit: true, // makes all columns equal to the width of the hole table scrollOffset: 0 // removes the space reserved for the scroll bar when there is no scroll bar

Unfortunately, I cannot find them (or something similar in ext4 anymore). Does anyone know how these properties were replaced in the new Ext.grid.View?

+3
source share
1 answer

In ExtJS4, columns are laid out using the Ext.layout.container.HBox layout.
In this way,

  • autoFill: true - , flex:1
  • forceFit: true ( , width , . v3.
  • scrollOffset:0. .
+4

All Articles