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

Dynamic Column Title and transpose of Column/Rows

Sort Posts: Previous Next
  •  09-22-2009, 9:25 AM Post no. 24073

    Dynamic Column Title and transpose of Column/Rows

    Hi All,

    I need to populate the column header/ title dynamically in Xceed DataGrid Control. Please help me out.

    Here is the sample scenario.

    ID Year     Value

    1   2008     20

    2    2008    21

    3    2008    22

    4    2008    23

    5    2008    24

    6    2009    20

    7    2009    21

    8    2009    22

    Here i need to show 2008 and 2009 as header for the column and display the value as rows. Is this scenario achievable in Xceed DataGrid Control.

    Thanks in Advance.

    Regards,

    Siva

  •  09-22-2009, 10:33 AM Post no. 24080 in reply to 24073

    Re: Dynamic Column Title and transpose of Column/Rows

    Using the data "as-is", no, it is not possible. In order to do what you want you will need to recreate a data source that matches how you want to layout the data.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  09-22-2009, 10:45 AM Post no. 24081 in reply to 24080

    Re: Dynamic Column Title and transpose of Column/Rows

    Hi Jenny,

    Please suggest how to change the data source for display. So that i can change my datasource for the display purpose.

    Thanks,

    Siva

  •  09-22-2009, 11:18 AM Post no. 24083 in reply to 24081

    Re: Dynamic Column Title and transpose of Column/Rows

    There was another clarification required.

    Can we take the distinct of the "Year" column and display as column header/title.

    Thanks,

    Siva

    Filed under:
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.