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
445
updating readonly column
posted

I have a objectid column in ultragrid that is readonly and I allow user to insert new row to grid and new objectid is generated from database insert operation. Now when I try to change it to new value through code I get objectid is readonly. Is there a way that the column is readonly for direct user editing but can be updated from code.

Parents
  • 445
    posted

    I fixed this one. I had set the readonly column in Datatable. Instead of that I set that in ultragrid and before updating changed the CellActivation property and restored it after changing it.

     

Reply Children
No Data