PDA

View Full Version : [CLOSED] gridPanel: rendererFn



supera
Oct 15, 2012, 5:19 PM

Daniil
Oct 15, 2012, 6:11 PM
Hi @supera,

Unfortunately, Renderer doesn't support such functionality.

If you need a component within a cell, you can use a ComponentColumn.
http://examples2.ext.net/#/search/ComponentColumn

supera
Oct 15, 2012, 7:10 PM

Daniil
Oct 16, 2012, 5:01 AM

supera
Oct 16, 2012, 11:02 AM
Hi Daniil

1 - The Panel is rendered in cell of gridPanel, but, it was not adjusted to the size of the cell. It sits on top of the cell, without height (A).

2 - I would like the panel to occupy the entire area inside the cell. (B)

3 - Note also that the width is extrapolated cell size (C). If scroll bars is visible, this does not happen.

4930

Daniil
Oct 16, 2012, 1:18 PM
Thank you for clarification.

Well, there is no such functionality to stretch a Component up to a cell.

I can recommend to set

height: 99 // 100 - 1 to do not lose a bottom border
// 100 is according your CSS for cells
for a Panel.

supera
Oct 16, 2012, 1:26 PM
Ok!

Thanks Daniil!