View Full Version : How to dock a component to a list?

16 Sep 2011, 12:07 AM
How can an individual dock a component to the top or bottom of a list? I ask because I would like a list title that scrolled up and down along with the list when the list is scrolled through. I've looked through the api documentation and can see no config option for docking which is surprising as I see it for other components.

Thanks for any help.

16 Sep 2011, 4:43 AM
You cannot.

To achieve this, you have to nest a List inside a Panel and dock your component(s) to the Panel. Make sure you have layout: 'fit' on the Panel or else the scrolling won't work on the List.