We have a requirement where we need to switch between the ListViewLinearLayout to ListViewGridLayout using Telerik RadListView. Is there is any way/option available in Telerik RadListview to do such things. Please suggest.
Thanks & Regards,
Amit Kumar
3 Answers, 1 is accepted
0
Yana
Telerik team
answered on 19 Nov 2019, 12:29 PM
Hello Amit,
RadListView provides both linear and grid layouts, you could check more about them in the following documentation article: ListView Layouts.
You've mentioned you'd need to switch between the layouts, could you elaborate a little bit more on this?
Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
Thank you for your response. Actually i have a UI where user can toggle the List to Grid or Grid to List. So, i want to know is there is way that i can do the same with RadListview as it support both the layout. I want when user click on List button then user can see the UI in List mode and if user click Grid button then user can see the UI in Grid (or Tile) Mode.
Regards,
Amit Kumar
0
Accepted
Yana
Telerik team
answered on 20 Nov 2019, 11:00 AM
Hello Amit,
Yes, it is possible - we have it implemented in our RadListView Layouts QSF example. You can find the QSF application either in your Telerik UI for Xamarin installation folder under QSF folder or you can directly explore the code in the QSF Examples repository on GitHub
The concrete example I am referring it to is the Layouts Example - in short, the layouts are switched through a DataTrigger added to the ListView definition.
I hope I was of help. Let me know if I can assist with anything else.
Regards,
Yana Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items