GridView .Columns is frozen and immutable
Posted: 14 Apr 2021, 22:43
Hi,
I have a ListView with a GridView that have dynamic number of Columns.
I'm defining the columns in code:
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?
I have a ListView with a GridView that have dynamic number of Columns.
I'm defining the columns in code:
Code: Select all
var viewColumn = new GridViewColumn()
{
Header = col.ToString(),
Width = 100
};
gv.Columns.Add(viewColumn);
This works pretty well in Noesis 2, but in Noesis 3 the Columns collection is frozen.
How to overcome this?