Welcome to the Xceed Community | Help
Community Search  
More Search Options

Changing Backgroundcolor on a column in the Datagrid

Sort Posts: Previous Next
  •  05-29-2008, 5:23 AM Post no. 12555

    Changing Backgroundcolor on a column in the Datagrid

    Is it possible to have different backgroundcolors for different columns in a datagrid. This should not depend on the value in the cell.

    ex. if i have a grid with white as a general backgroundcolor and i need to set entire column 2 to red and entire column 5 to green

    Appreciate your feedback on this.

     

     

  •  05-29-2008, 8:20 AM Post no. 12562 in reply to 12555

    Re: Changing Backgroundcolor on a column in the Datagrid

    You can create an implicit style that targets DataCell and that has triggers of the FieldName in which the background is set.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.