Friday, 3 February 2012

Itemselector Height in ExtJs4

It seems like in ExtJS4.0.2a, we can not modify the height directly. ( height:) will not work. As height has been initialized to 200 by default..

To Assign your own height you have to override the onRender method of ItemSelector.js

commonConfig = {
displayField: me.displayField,
valueField: me.valueField,
dragGroup: ddGroup,
dropGroup: ddGroup,
flex: 1,
hideLabel: true,
height : (this.height || 200)


  1. height: ( me.height-37 || 163)

    This worked for me in Ext 4.0.7

  2. Hi Ramirz,
    It is fixed in Ext4.0.7. I was referring to ExtJs4.0.2a