0 Replies Latest reply on Apr 26, 2006 12:03 PM by john.gooch

    Customizing Individual Columns in Datagrid

    john.gooch

      I want to set the alignment and text colors for each individual column in a Datagrid instance. Here is how I am adding the columns ( example of one ):

      var technical_support ataGridColumn = new DataGridColumn("technical_support"); //create DataGridColumn object
      technical_support.headerText = "Technical Support"; //set the displayed header text
      technical_support.width = 76; //set column width ---is there a way to have it autosize to the header title?

      dgCSCstats.addColumn(technical_support); //adds the column