2 Replies Latest reply on Jul 24, 2008 11:52 PM by SujitG

    Datagrid appearance

    Fredsells
      using Flex 3; the default background color for the datagrid rows is different for the first and last columns on the alternate rows that have a background color.

      I would like to make them the same. I don't know how or where this is coming from. A sample datagrid is below.


      <mx:DataGrid id="EmployeeGrid" width="100%" height="100%" change="employeeSelected(event)" fontSize="12"
      dataProvider="{EmployeesArray}" >
      <mx:columns>
      <mx:DataGridColumn headerText="Employee #" width="70" dataField="id"/>
      <mx:DataGridColumn headerText="Last Name" width="70" dataField="lname"/>
      <mx:DataGridColumn headerText="First Name" width="90" dataField="fname"/>
      <mx:DataGridColumn headerText="Job Code" width="110" dataField="jobcode"/>
      <mx:DataGridColumn headerText="Date Hired" width="110" dataField="datehired"/>
      </mx:columns>
      </mx:DataGrid>