Skip to content

Update row column data after change de ItemSource #64

@paoc77

Description

@paoc77

Hi, in runtime using mvvm community toolkit is possible to update a cell, after some property change?
I set my binding in the view with C#
dataGrid.SetBinding(DataGrid.ItemsSourceProperty, nameof(attachmenListViewModel.Attachments), BindingMode.TwoWay);

in the viewmodel:
public ObservableCollection Attachments { get; } = new();

I load the data and it shows the info Ok in the Grid

later in a command
Attachments.First().Status = "Requested";
Nothing happens

Can you please help me with this issue, I'm missing something ? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions