Home Forums WinForms controls Xceed Grid for WinForms DataRowTemplate ReadOnly property problem

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

    When I set the DataRowTemplate.ReadOnly property to true all the datarows become readonly but when i set it to false again it does not make the datarows readonly false.

    Kindly provide a workaround…….

    Imported from legacy forums. Posted by Hemanshu (had 1770 views)

    User (Old forums)
    Member
    Post count: 23064

    After the grid is filled with the data, if you modify the template, it will not have any effect, since it is a template, and all the rows have already been generated from the previous template. So what you need to do is to modify all the actual DataRows themselves, one by one.

    A more efficient way would be to set the ReadOnly property on the GridControl itself, so that when you want to change it, you only have this property to set back once.

    Imported from legacy forums. Posted by André (had 2971 views)

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