11 Replies Latest reply: Feb 28, 2013 11:03 AM by JoséTeixeira RSS

    BackGround Row Color Data Grid

    JoséTeixeira

      Hello,

       

      In My Application have alternativeRows :

       


      s|DataGrid {



      alternatingRowColors: #b2cbe7, #ffffff;


      }

       

       

      I need to have a certain Row Background Color: # cccccc by pressing the DELETE key.

       

      Example:

       

      if (event.keyCode == Keyboard.DELETE) {

       

       

      if (DG_ITENS.selectedCell.columnIndex == 0) {

       

         / / Row BackGround Color # cccccc

        }

      }

       

       

      Thanks