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
40
Multi header
posted
Hello, I'm newbie on infragistics and i try infragistics for choose a grid to migrate a delphi application to .net on vs2008. How can i realize a multi line header like screen capture in attachment ? I would like to have 2 fixed lines with merge cell on first ligne or merce colomn on the two line. Thank's
  • 255
    Verified Answer
    posted

     Hi,

    This is possible by using the concept of Groups.

    Use this ..

    Me.ugrd.DisplayLayout.Bands(0).Groups.Add("Group1")

    Me.ugrd.DisplayLayout.Bands(0).Groups.Add("Group2")

        Me.ugrd.DisplayLayout.Bands(0).Columns("c1").Group = Me.ugrd.DisplayLayout.Bands(0).Groups("Group1")

      Me.ugrd.DisplayLayout.Bands(0).Columns("c2").Group = Me.ugrd.DisplayLayout.Bands(0).Groups("Group1")

      Me.ugrd.DisplayLayout.Bands(0).Columns("c3").Group = Me.ugrd.DisplayLayout.Bands(0).Groups("Group2")

      Me.ugrd.DisplayLayout.Bands(0).Columns("c4").Group = Me.ugrd.DisplayLayout.Bands(0).Groups("Group2")..

     Hope this may solve your problem.

    Thanks,

    Chaitanya