Home Forums WPF controls Xceed DataGrid for WPF A Event When a DataGridControl is Modified?

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

    Hello,

    Is there are a Event in DataGrindControl that occurs when the DataGridControl is modified?

    With “Modified” I mean, IsEdited, IsRowAdded/Removed…
    …One other case is if this Grid is binded?..

    Thanks for help

    Imported from legacy forums. Posted by serhio (had 832 views)

    User (Old forums)
    Member
    Post count: 23064

    (Note – My version of datagridControl is 1.1)

    Imported from legacy forums. Posted by serhio (had 555 views)

    User (Old forums)
    Member
    Post count: 23064

    any fresh ideas?

    Imported from legacy forums. Posted by serhio (had 479 views)

    User (Old forums)
    Member
    Post count: 23064

    :((

    Imported from legacy forums. Posted by serhio (had 514 views)

    Xceed Support
    Member
    Post count: 5658

    There is no built-in event that will allow you to do what you want. You could maybe add a value-changed handler on the IsBeingEdited property to be notified when an item is being edited.

    Sorry I can’t be of more help.

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

    User (Old forums)
    Member
    Post count: 23064

    Isnt it blatenly obvious that this is one event that should not have been left out. Is this grid to be used for display only? or is it going to be used as a real grid where we can edit data and be notified when the user does some basic things like change data or change position in the grid etc. Pretty simple stuff when you are at the development end, however nigh impossible when you at the user end of the stick.

    Imported from legacy forums. Posted by David (had 490 views)

    User (Old forums)
    Member
    Post count: 23064

    There are 2 events when item collection changes:
    grid.Items.CurrentChanging +=new CurrentChangingEventHandler(Items_CurrentChanging);
    and
    grid.Items.CurrentChanged +=new CurrentChangedEventHandler(Items_CurrentChanged);
    Try them.

    Imported from legacy forums. Posted by Lena (had 566 views)

    User (Old forums)
    Member
    Post count: 23064

    Items.CurrentChanging occurs in a lot of situations, like grid databinding, grid creation… but I would like a user event on the grid detection… 😐

    Imported from legacy forums. Posted by serhio (had 5866 views)

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