Page 1 of 1

GridView .Columns is frozen and immutable

Posted: 14 Apr 2021, 22:43
by andreasg
Hi,

I have a ListView with a GridView that have dynamic number of Columns.
I'm defining the columns in code:
var viewColumn = new GridViewColumn()
{
 Header = col.ToString(),
 Width = 100
};
gv.Columns.Add(viewColumn);
The Columns are added in OnLoaded and updated when the data changes
This works pretty well in Noesis 2, but in Noesis 3 the Columns collection is frozen.

How to overcome this?

Re: GridView .Columns is frozen and immutable

Posted: 19 Apr 2021, 10:30
by sfernandez
Hi Andreas, I verified this was a regresion in 3.0 version, could you please report it in our bugtracker, we will fix it for next release.
Sorry for the inconvenience.