how can I make this working?
I have a DataGrid in maui with the following column defined:
<syncfusion:DataGridDateColumn MappingName="Time" Format="{Binding TimeFormat, Mode=TwoWay}"/>
in the ViewModel i have defined a OObserveableProperty for the format:
[ObservableProperty]
private string _timeFormat ="yyyy";
and then when I click a button i want to change the format from "yyyy" to "MM.yyyy" for example
like this:
TimeFormat = "MM.yyyy";
is that possible? where did i go wrong?