Home Forums WPF controls Xceed DataGrid for WPF DataGrid ReadOnly

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #21943 |

    I have set the DataGrid’s ReadOnly property to “True”, but when I double click on a cell (to edit it) the following DataGridException is thrown:

    An attempt was made to edit a readonly cell.

    Is there a reason for this? How can I catch this exception?

    Thanks

    Imported from legacy forums. Posted by M (had 4413 views)

    User (Old forums)
    Member
    Post count: 23064

    I experienced the same issue, turns out you need to download the latest package

    http://download3.xceedsoft.com/Packages/3.0.7113.09060/XceedComponents.exe

    Regards
    Neil

    Imported from legacy forums. Posted by nmosafi (had 268 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks. I will download the packegae and see if it resolves my issue.

    Imported from legacy forums. Posted by M (had 316 views)

    User (Old forums)
    Member
    Post count: 23064

    I have the same problem (the DataGridException is being thrown at modifing a read-only column), but i have the last package version and doesn’t work. The exception is still being throwed, and I would like to know at least how to catch it.

    Thank you in advance.

    Imported from legacy forums. Posted by antonio (had 415 views)

    Xceed Support
    Member
    Post count: 5658

    The exception is being throw, but is it handled by the DataGridControl’s code? (is it unhandled?)

    If the answer is yes, I’d like to know if its possible for you to give some more details on the context where the unhandled exception occurs ( initialization code, any modified styles/templates, …)

    Imported from legacy forums. Posted by Marcus [Xceed] (had 5258 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.