:: Forum >>

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
Monday, February 13, 2006
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
Monday, February 13, 2006
Rodrigo,

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

/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)
Monday, February 13, 2006

This topic is archived.


Back to support forum

Forum search