PDA

View Full Version : How to add custom rows between grid header and grid body



anb
18 Oct 2011, 6:44 AM
Hi,

we want to add customized rows to a grid between the grid header and the content.

We tried out different ideas, but none of them worked properly:

adding a docked item to the top does not work because it always places this item above the header row.
same result when using tbar property.
adding an item to the grid panel does not work because grid panel uses fit layout. Either the grid body or the added container has the full gridpanel's size.
changing fit layout to auto layout breaks scrolling.
using a grid feature does not work because the customized rows should stay at the grid's top when scrolling
Can someone please help us with this? Thank you in advance.

anb
19 Oct 2011, 10:08 AM
Hi,

we've found the (very simple) solution for this. Just add the additional rows as docked items with weight 101 to 109 to the grid panel.