3.2.0

code to fixed one col in right of screen and grid width 100% (in any resolution screen)

What i need change to my grid use 100% of screen! and the last column fixed on right of screen! example:

---------------------------------------------------------------------------------
colum1 | colum2 | colum3 | colum4 | colum4
---------------------------------------------------------------------------------

Colum 4 always with a fixed size but always align right of screen (with scrollbar browser)

Thanks
Rodrigo
Rodrigo
February 13,
Sorry but my example not work! (i will use nbsp; to show the spaces) if not work sorry again!

-----------------------------------------------------------------------------

colum1   |   colum2   |   colum3   |   colum4   |             colum5

-----------------------------------------------------------------------------
Rodrigo
February 13,
Rodrigo,

version 1 does not support fixed columns - you need version 2 for that.
Alex (ActiveWidgets)
February 13,
you have a sample to i see how it works in version 2 to know if really is what i need?
Rodrigo
February 13,
There is an example here -

http://www.activewidgets.com/aw.ui.grid/fixed-model.html

(click on 'show example' and then 'show me' button. The code window is interactive - you can edit the code and press 'show me' again).

What you need is those two lines -

obj.setStyle("width", "100%");
    obj.setFixedRight(1);
Alex (ActiveWidgets)
February 13,

This topic is archived.

See also:


Back to support forum