Welcome to the Xceed Community Sign in | Join | Help
Community Search  

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.
    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.