Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > Dynamic codebehind ColumnGroups and Excel Export

Not answered Dynamic codebehind ColumnGroups and Excel Export

Feed from this thread
  • tony avatar

    Posted on Dec 2, 2011 (permalink)

    Hi,

    I just got the newest version and was pleased to see the addition of merged column headers. However, We currently generate our ColumnGroups after a service call and while the columns show up properly, the groupColumn always shows up blank.

    public MainPage()
     {
     InitializeComponent();
     
     service.ServiceClient sc = newService.ServiceClient();
     sc.SaveFileCompleted += new EventHandler<service.SaveFileCompletedEventArgs>(sc_SaveFileCompleted);
     sc.SaveFileAsync();
    }
     
    void sc_SaveFileCompleted(object sender, fileSaveService.SaveFileCompletedEventArgs e)
    {
     RadGridView.ColumnGroups.Add(new Telerik.Windows.Controls.GridViewColumnGroup() { Name = "Vehicle_Info", Header = "Vehicle info" });
     RadGridView.ColumnGroups.Add(new Telerik.Windows.Controls.GridViewColumnGroup() { Name = "Dimensions", Header = "Dimensions" });
     
    //Further Column Definition
     
    }

    This will draw the columns properly, but will fail to render the columnGroups.

    I have attached a screenshot of what gets rendered.

    Secondly, we are trying to export from the grid with merged column headers and it doesnt seem to render the merged columns, I was wondering how we can get the merged columns as part of our excel export?

    Thanks!
    Tony
    Attached files

    Reply

  • Pavel Pavlov Pavel Pavlov admin's avatar

    Posted on Dec 8, 2011 (permalink)

    Hi Tony,

    Thank you for the feedback ! I am treating these as feature requests . Both are reasonable - adding groups runtime should result in properly rendered column groups  and column groups should be included when exporting data.

    We have a service pack release planned within two weeks. I will do my best to have the improvements for you included.

    One more time thanks for the valuable feedback. I am updating your Telerik points.

    All the best,
    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Posted on Feb 6, 2012 (permalink)


    Hello Pavel,

    Has this feature been added? I also have the same problem, and I use the latest build: 2011.3.1220.1050.

    Thank you,
    Adrian



    Reply

  • Pavel Pavlov Pavel Pavlov admin's avatar

    Posted on Feb 6, 2012 (permalink)

    Hi Adrian ,

    Please download our latest internal build and give it a try . In case you still experience any troubles please let me know.

    Greetings,
    Pavel Pavlov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

  • Frodi avatar

    Posted on Feb 15, 2012 (permalink)

    Hello Pavel

    The merged column headers does not yet export. Is it possible to get an estimated time of when we can expect this feature. 

    I am using the newest internal build at this moment: RadControls_for_Silverlight4_2011_3_1413.

    Thank you

    Reply

  • Pavel Pavlov Pavel Pavlov admin's avatar

    Posted on Feb 15, 2012 (permalink)

    Hello Frodi,

    In a few hours you should be able to download our new official release (Q1 2012) which does include the feature promised earlier.

    All the best,
    Pavel Pavlov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > Dynamic codebehind ColumnGroups and Excel Export
Related resources for "Dynamic codebehind ColumnGroups and Excel Export"

Silverlight Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]