tags:

views:

757

answers:

3

Hi I have a flex data grid.I need to highlight the selected cell of the data grid.can u please help me?

A: 

DataGrid automatically highlights the selected row (see the examples)

If you're looking for a table-like component, check out Grid or Tile.

It would also help if you would post your source code so that we would know what you are trying to achieve.

Aethex
A: 

Hi Aethex, I know data grid automatically highlights the selected row.But I'm not searching for row highlight. I'm searching for cell highlight.For example say if I will click on 1st cell of data grid, instead of highlighting the first row it will only highlight the first cell(row-0,col-0)

Thanks!

A: 

You are looking for the selectionMode property : selectionMode="multipleCells" or "singleCell"

http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_05.html

Flexicoius