Hi,
I'm migrating from
Xforms and I have this cose that is working correctly on Xforms but is not working on maui.
Even if I can debug and see that I have data, the grid doesn't display anything.
thanks
public async Task LoadData()
{
await Task.Run(() =>
{
table = JsonConvert.DeserializeObject<DataTable>(jsonData);
});
Grid.ItemsSource = table;
}
In the page consturctor (code behind) I have
BindingContext = vm;
vm.Grid = dataGrid;
vm.LoadData();
Can you check please?
thanks