Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Merged column header in web grid
posted

Hi,

I am using web grid v8.1. I am populating the spread dynamically using a datatable. I have a requirement to merge 3 column headers and give a general text, but the 3 corresponding columns should not be merged, ofcourse. Please find below the reqirement depicted in picture format

    Summary Measures                                         <==== common text in header for 3 columns below

---------------------------------------

   Unit1     Unit2     Unit3                                      <==== 3 column headers

 Please let me know if this is possible using Infragistics.

Thanks - Sethu

Parents
No Data
Reply
  • 28464
    posted

    Hello Sethu, 

    Thanks for your interest in our products. Yes, I believe it is possible. Please, take a look at the following sample and let me know if it is what you need:

    http://samples.infragistics.com/2008.2/webfeaturebrowser/WebGrid/MultiHeaders/MultiHeaders.aspx

    If you want to see the source code of the sample, open this link:

    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm

    and then navigate to Grid - > Using Elements -> Multi Column Headers example from the left navigational panel. You will see full source code in the code tabs above the sample. 

Children