PDA

View Full Version : Collapse tool Button on left of header



harman
22 May 2013, 3:53 AM
Hi All,

I am using ExtJS 4.0.7.
I want to put the collapse/expand tool button on the top left instead of top right of my collapsible grid.
Any suggestion how can i do this?

slemmon
24 May 2013, 8:26 AM
The header is a container so you can do the standard add / remove functions with it. So, after the panel is rendered you can do getHeader() and from there do a header.remove(collapseTool, false) > header.insert(0, collapseTool).