:: Documentation >>

fixed model

Number of fixed columns.

Using fixed/left and fixed/right properties it is possible to make some columns always visible (fixed to the left and/or to the right side).

The following code produces two columns fixed on the left side and one fixed column on the right.

obj.setFixedLeft(2);
obj.setFixedRight(1);

Only AW.Grid.Extended class supports fixed columns (not AW.UI.Grid).

Syntax

var value = obj.getFixedProperty(name); // Retrieve property by name
obj.setFixedProperty(name, value);      // Assign property value
obj.defineFixedProperty(name, value);   // Define new property

var external = obj.getFixedModel();     // Get reference to external model
obj.setFixedModel(external);            // Assign external model
obj.clearFixedModel();                  // Clear/reset all properties

Properties

leftNumber of the fixed columns on the left side.
rightNumber of the fixed columns on the right side.

Defined in

AW.UI.Grid

Comments

setFixedRight() doesn't seem to work Aaron (0)
column header arrow handling Anu (4)
code to fixed one col in right of screen and grid width 100% (in any resolution screen) Rodrigo (4)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5