14 Replies Latest reply on Oct 21, 2008 12:08 PM by Newsgroup_User

    Making rows in a DataGrid bold

    valnub Level 1
      Hello there,

      i am seeking for a solution to make specific rows bold in a DataGrid.

      I already tried:
      - setPropertyAt(): Failed (deprecated)
      - Extending DataGrid: Failed (Didn't know how to get specific rows)
      - Using setStyle(...): Failed (There is no method getRow(var rowNum:int))

      I am seeking for something like this (e.g. to make row #5 bold):

      myDataGrid.makeBold(5);
      or
      (myDataGrid.getRow(5)).setStyle('fontWeight', 'bold');

      Does anyone know how to do this?

      regards,
      Timo