2 Replies Latest reply on Jul 3, 2007 7:59 AM by bcraigie

    Datagrid : Editable text - setting colour

    bcraigie
      Hi,
      I have a datagrid, with an editable cell in it. The cell's background colour is blue and the text is white (set by using setStyle commands). When I click in it to edit the text, the cell background goes white, and with the text also being white, I can't see what I'm typing until I move out of the cell, when the background goes back to blue.

      I'm sure I'm missing something really obvious here, and I've tried googling, but I can't hit on the right keywords to find the answer. As the datagrid is based on the list component, I had a look at the styles it offers, but since a list isn't editable, it has no style for this circumstance.

      This must be such a common thing to fix. Can anyone put me in the right direction please? A way to change the white background of the cell being edited would be what I'm looking for. :-)

      Thanks,

      Brian