Question

i have a view where i have list, now i required a header sub-title for view, which should not get scroll.

If i place a panel inside view it's start scrolling...i need a stickey one. Need help.

 config: {
        AccountName: '',
        AccountNumber: '',
        style: 'background-image: -webkit-linear-gradient(bottom, rgb(223,223,223) 60%, rgb(199,199,199) 80%);',
        layout: 'vbox',
        height: '100%',
        scrollable: true,

 items: [ .....

        ]
Was it helpful?

Solution

You should be able to just set the doc property of an item.

For example a docked toolbar component.

items:[
    {
      xtype: 'toolbar',
      docked: 'top'
    }
 ]

The docked property will not be part of the parents (your list) scrollable component.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top