View Full Version : Tools in a panel

9 Nov 2010, 11:52 PM

I want to render some tools in the header of a panel. I have checked that ExtJS allows to render some tools in the right part of the header. I was wondering if there is any way to render some tools next to the title of the header, just on the right of the title.

Is there any way to specify which type of component do you want to render on the header?? or give some styles to the tools??

Thank you!

10 Nov 2010, 5:00 AM
Panel renders toolbuttons before the header title (and the css is float:right). You can change the css to put the tools on the left of the title, but you have to change the rendering itself to put the tools directly after the text.

But you are always free to render anything else to the header element (in the panel render event). However, most of the time you will need to add some css rules to make it display correctly in the header.