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
1735
How to Merge Cells horizontally of a child band
posted

Hi,

I am using UltraWinGrid with 2 Bands and for the Child band I want to merge 2 cells in a row (Cell(0) and Cell(1) of rows) but not for all the child rows.

In the image that i have shared, i want the child rows with values Test1, Test2, Test3, Test4, Test5, Test6 to be merged with the empty cell next to it (i.e. Cell(0)).

But the last 4 child rows with values 'Help Text', Test7.1, Test7.2, Test7.3 should not be merged. It should be displayed as 2 columns.

Thanks,

Chitra

Parents
  • 21795
    Offline posted

    Hello Chitra,

    Thank you for posting in our forum.

    Right now UltraGrid does not support merging of cells across columns. If I understand correctly in yor scenario you have a grid with three bands. One main band containing rows with values “L”, “C”, “R” and so on. Two child bands – one containing two columns which you need to merge, and second with “State” and “Help Text” columns. As a workaround in this scenario I can suggest you to hide the first column in in your first child band. This way you will achieve the visual appearance you are asking for. Please check the attached sample where I have implement this approach.

    If this does not fit in your scenario you may implement custom creation filter to make cells appear as if they are merged. Please check the following link where similar question were answered http://ko.infragistics.com/community/forums/t/64996.aspx.

    Please let me know if you need any additional information.

    Thank you for sharing with us your workaround.

    CAS-166811-B6P4P2.zip
Reply Children
No Data