Hello!
I would like to merge two column headers into one. I am not binding my datasource at design time so I guess that I need to merge the headers in code?
I found a lot of posts about this topic but everything seems to deal with this in design time.
What can I do?
/Henrik
Hi Henrik,
I'm not sure. It looks like it's just the way to the layout comes out when you have groups. I doubt there is anything you can do to change that.
Mike, you don't have any idea where this gap comes from...?
Alright, I have proceeded according to Mike's suggestion and it works almost as planned.
I found the Group Header in the .isl file and I simply cloned every setting I found.
The red arrow shows a "white" gap between the grey border and the group header. How can I get rid of that?
I tried to modify the labelInsets but without success. They were already on zero.
However, I have one small question left.
Hello Zlatan,
You could use ColumnLayout instead , this will allows you to create column header which overlaps columns that you should merge, so the Application Style Library will style this header correctly and you should note that this what be the same as using of groups. And I still believe that Mike approach is better, you should managed the isl file instead to change your code . Changes in code involves a lot of testing and they hides some risk. So if I were on you I defiantly will use Mike’s approach.
I hope that this will helps you.
OK!
Is there any way to do this merge operation directly on the column headers, instead of these "group headers"?
What I want to do is to merge two columns into one, nothing else. I have a UltraCombo with two columns...
My software makes it possible to use all isl files available, and then I will have to modify all of them...