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
240
UltraWinGrid Cell Merge Issue
posted

Hi,

I am displaying data in ultrawin grid and using merge cells by same text.

My data return by proc looks like this:

 

COL 1

COL 2

COL 3

A

V1

1

A

V1

2

A

V3

1

B

V3

1

B

V4

2

 

 Excpect output after merge should be: 

COL 1

COL 2

COL 3

A

V1

1

2

V3

1

B

V3

1

V4

2

 

So i merge col 1 on sametext  and col2 as well on sametext. Issue happens because both A and B has same value in one case i.e. V3. so because of that its look like below table:

 

COL 1

COL 2

COL 3

A

V1

1

2

V3

1

B

1

V4

2

  

So if you notice here, V3 is appearing only once but in fact it should appear twice - Once for "A" and then for "B" as well.

Any pointer to fix this would be of great help.

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi,

    The merging you want here seems inconsistent to me, and I don't see how the grid could know which rows to merge and which ones not to merge.

    But if you want to control the merging on row-by-row basis like this with your own criteria, you could use a MergedCellEvaluator on the column(s). This will give you complete control over which cells are merged.

Reply Children
No Data