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 ;)
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.
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.
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.
Happened to be as well. I don't know why... I think it is a bug but I can't be sure of that.
Like you've said, it is a PITA.
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?