Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Set a Column to 'AllowEdit' doesn't work
posted

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 ?

Greetings
RaStie

 

 

Parents
  • 17259
    Offline posted

    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.

Reply Children