apache-flexdatagridadobefreezedatagridcolumn

"freeze" one column in flex datagrid


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


Solution

  • 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.