  // Constructor
  function cRow(oParent){
    this.m_oParent = oParent;
    this.m_Index = 0;
    this.m_oTr = null;
    this.m_Cells = new Array();
    this.m_CellCount = 0;
    this.m_backgroundColor = new Array();  // To have multi configuration of backgroundcolor    
    this.m_Selected = false;

    // -------------------------------------------------------------------
    this.addCell = function(Id){
      var oCell = new cCell(this);
      this.m_Cells[Id] = oCell;
      this.m_CellCount++;
      return oCell;
    };
    // -------------------------------------------------------------------
  }