views:

1774

answers:

2

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

+6  A: 

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.

Ryan Guill
How do I use DataGridBase? Flex help states " It is not used directly in applications." Thanks again.
Bob Spidell
Woops ... answered my own question (it's visible to the DG, just not documented there).
Bob Spidell
yes, exactly. DataGrid inherits all of those properties from the DataGridBase.
Ryan Guill
so would you say that this is the answer you were looking for?
Ryan Guill
A: 

Once this is implemented, the datagrid appears to put a thick black border on the right side of the column.

Does anyone know of any style property / workaround to remove this line? It's not very aesthetically pleasing!

James