2
votes

I'm using a datagrid to display a column of date ranges and several columns of data. I'd like to make the first column (the date ranges) fixed; i.e. that column stays in place when the user scrolls the other columns. That way, the dates column will always be visible as the user scrolls through many data columns. I don't see a datagrid property for this; anyone have a solution? TIA

2

2 Answers

8
votes

lockedColumnCount (and lockedRowCount) is more than likely what you are looking for.

http://livedocs.adobe.com/flex/3/langref/index.html

The reason you probably didn't see it is because it is part of the DataGridBase and not part of the DataGrid class itself.

0
votes

use locked column count property

lockedColumnCount=”1″ height=”96″ horizontalScrollPolicy=”on”

verticalScrollPolicy=”on” width=”397″>