Home Forums WPF controls Xceed DataGrid for WPF How do i get all inserted lines ?

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

    Hi, i need some help collecting all the inserted lines whitin my grid.

    Is there any function or method that does this automatically for me ?

    My problem is that everytime i need to view all the inserted lines in my grid i need to search for it in the entire control, and even doing that i don’t know what property tells me which line was inserted or updated.

    How can i do that ?

    So does anyone know if there is any operation ready to return me a list of all inserted lines ?

    The same occurs to updated lines.

    I am almost deseperate trying to solve this.

    Thanks in advance.

    Imported from legacy forums. Posted by cezar.pimentel (had 1792 views)

    Xceed Support
    Member
    Post count: 5658

    There is no built-in feature that will allow you to do what you want directly. What I can suggest is monitering the IsBeingEdited and IsDirty properties of the DataRows and to add the ones whose state has gone from IsBeingEdited == true to false and whose IsDirty property is true to a temp collection.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2981 views)

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