Help: Hiliting Background Color OF A Paticular Cell In ListGrid

Hi Isomorphic,

I need to change BackGround color of a signle specified cell in listgrid, the single specified cell should be the cell which is clicked or on cellClick of the cell.

I can do it for entire row of the listgrid but not for specific cell in listgrid.

i request you to kindly help me out in this concern issue.

thanks and Regards,

Varun & team members.

On cellClick, use any of the methods described in the documentation for getCellStyle to ensure that a different CSS style will be returned for the target cell, then call refreshCell() to see the change.

Hi Isomorphic,

          by setting the property "autoSelectValues:"both",    // both, cols, row, none" in cubeGrid,
          
          the cell is hilited with background color for Selected cell and onMouseOver event.

          do smartclient has any other similar "property or methods" reflecting the above cube grid property for LISTGRID usage 

    i request smartclient to provide sample code setting background color for single selected cell.

Thanks and Regards,
Varun & Team.

If you want a column to be selected when you click on a header, we would recommend using the CubeGrid.

If there’s some reason you absolutely must use the ListGrid, please provide some more information around the use case. The approach that would be taken could be very different depending on the entire set of user interactions that must be supported.