Hello,
I´m trying to set a Column in a UltraWinGrid to 'AllowEdit' - the other Columns should be ReadOnly.
I also read this KB http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6156 but it still won't work.
Here's my Code:
uGridImportErrors.DataSource = cDataControllerMigrationsDB.getImportErrors(_CheckedState) uGridImportErrors.DisplayLayout.Bands(0).Columns(1).CellActivation = Activation.AllowEdit
But after running this code the columns is still ReadOnly.
Is it because the Datasource is only a non-typed IQueryable ?
GreetingsRaStie
If by "non-typed" you mean anonymous type, then this kind of type can contain only read only properties, so your column will always be read only. you need to create a new type with properties and use it for your data.
Hi,
I changed the returntype from IQueryable to IQueryable(Of [Name of my view]), but the columns remains ReadOnly.
The problem was, I binded the data directly to the grid. But when I first put a BindingSource on the grid and then bind the data to that BindingSource it works.
Greetings
In your view class, do these properties have "set" or just "get"?