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
880
Upgraded from 8.1 to 10.1 now getting "Column ... is read only"
posted

I am trying to edit the value of a cell in an UltraGridGroupByRow.  It was working fine in 2008.1.   I recently upgraded the project to 2010.1 and this was one of the few things that broke compatability.  I need a little help getting it working again.

The existing code that stopped working:  groupByRow.Cells["Key"].Value = "Test Value";

I also tried: groupByRow.Cells["Key"].SetValue("Test Value", false);

I get the same error no matter what I do.  That error is: "Column 'Key' is read only".

Does anyone know of a work around?

Thanks.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    As far as I know, the GroupByRow doesn't even have a cells collection. So I don't see how this code could ever have worked. Attempting to reference the Cells collection on a GroupByRow will result in a NullReferenceException. The Cells property is hidden from Intellisense and always returns null.

     

Children