Goodmorning,
In the attached example i used your example from Github.
I converted it to the newest versions of Visual Studio etc.
I want to use the CollapseAll() on the Load event but nothing is happening.
Using:
VS2022 17.2.0 Preview 5.0
Syncfusion.Maui.Listview 20.1.51-preview
Can you
Best regards,
Thijs van Rijswijk
Hi Thijs,
We could replicate the reported scenario when using CollapseAll method in the Loaded event of the SfListView. We will analyze the reported scenario at our source level and update you with further details on May 5, 2022. We appreciate your patience until then.
Meanwhile, we suggest you set the DataSource.AutoExpandGroups to false to collapse all the groups on loading. Please refer to the following code snippets for more reference,
|
protected override void OnAttachedTo(SfListView bindable) { ListView = bindable; ListView.DataSource.AutoExpandGroups = false; ListView.DataSource.GroupDescriptors.Add(new GroupDescriptor() { PropertyName = "ContactName", KeySelector = (object obj1) => { var item = (obj1 as ListViewContactInfo); return item.ContactName[0].ToString(); }, }); base.OnAttachedTo(bindable); } |
Lakshmi Natarajan
Hi,
The dame source as above gives an error if compiled en run with VS 2022 17.3.0 Preview 1.0
If you comment out de .xaml of the listview the example runs fine.
Everything works fine with VS2022 17.2.0 Preview 5.0.
Regards,
Thijs van Ri
Hi Thijs,
Could you please share the following details which will be helpful for us to check on the reported scenario further?
It will be helpful for us to check on it and provide you with the details as soon as possible.
Lakshmi Natarajan
Hi Thijs,
We Will check the given sample in VS 2022 17.3.0 Preview 1.0 and update you further details on or before May 17, 2022. We appreciate your patience until then.
Lakshmi Natarajan
Hi Thijs,
The reported error has been resolved in our latest Nuget update v20.1.0.56. Please update the Syncfusion packages to the latest version to resolve the issue.
Please let us know if you need further assistance.
Lakshmi Natarajan