Hi at all,
i'm new to use your Libraries. I develop with Infragistics NetAdvantage 2006 CLR 2.0.
I don't know what i have set in the displayLayout of my wingrid test. The problem is : I load the datasource of my Winngrid with a Datatable at runtime. My datatable contains 5 colums like column1,column2, etc....
When I display the wingrid in my winform, happen that the Layout of my Wingrid is duplicated. In fact the layout is:
Column1,column2,Column3,,Column4,Column5,Splitter,,Column1,Column2,,Column3,Column4,Column5
I would see only Column1,column2,Column3,,Column4,Column5
What is the problem/ options that, i suppose, i have accindentally enabled?
Thk ;)
It sounds like you have multiple ColScrollRegions. The question is... where is the region getting created. This could be because you are calling the Split method in code, or that you are loading a layout with multiple regions, or that you split the grid at design-time by dragging the splitter bar (which is part of the scroll bar).
Ok, i have reach in the InitializeComponent(), within the constructor of my winForm, that the I create 2 region. I don't know how i have created this 2 region ( using Blue Office as look and outlook group by as Behavior ).
I have deleted the second region and all work fine!
Thanks a lot for the help
Best regards
I just upgraded a few projects to volume 8.2 and WoW what a pain; It seems just popping open the ultra grid designer will add colregions or RowRegions to the designer. whats the deal?
I've heard a couple of reports of this, but I don't think we've ever been able to duplicate the issue here. You can remove the extra ColScrollRegion in the designer by simply dragging the splitter bar all the way to the left.
Try setting grid.MaxColScrollRegions to 1 and see if that helps.
If that does not help, check the InitializeComponent code in your form and look for ColScrollRegion and see if you can discover where the regions are getting created.
Thanks for the advice mike, I had actually already tried setting the max col and row regions to 1, no avail. fyi this seems to only happen to the grids I layout on an Ultra Tab Control, it also does not seem to happen until I set some sort of summary or formula in the grid. I'm not sure how relevant that information is for you; as it still seems pretty spontaneous.
Itmust be some weird serialization hiccup.That's why I suggested looking in the InitializeComponent code. If you can see where the ColScrollRegion is getting created, you should be able to remove that code and hopefully that will fix it.