This is a migrated thread and some comments may be shown as answers.

Can I use a DataTemplateSelector for the RadListView?

4 Answers 109 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 16 Oct 2015, 07:35 PM

I have a RadListView with different types of items (grouped, actually) and I would like to format the items using a different datatemplate for each grouped type (e.g. products within Category "Food" will use template A and products within category "Dry Goods" will use a different template.

 With WPF apps and ListViews I would use for the "ItemTemplate" I would specify a DataTemplateSelector and then have some code that would point to specific resources / data templates based on my logic.

 My question is whether I can use DataTemplateSelectors for the RadListView in Xamarin.Forms -- if not, could you add a request to implement this feature?

 Thanks -

Erik

4 Answers, 1 is accepted

Sort by
0
Accepted
Rosy Topchiyska
Telerik team
answered on 21 Oct 2015, 04:04 PM
Hello Erik,

Thank you for contacting us.

At this moment the ListView does not support item template selector, but I have logged a feature request in our ideas and feedback portal where you can vote for it to raise its priority.

Please, let is know if you have any other questions.

Regards,
Rosy Topchiyska
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
0
Erik
Top achievements
Rank 2
answered on 21 Oct 2015, 04:21 PM
Thanks.  I voted for it.
0
Fabio
Top achievements
Rank 1
answered on 27 Sep 2016, 01:22 PM

Hello, I currently need to use templates in radListView under a xamarin Forms project, is there any possibility to use them?

I noticed that I can declare and use differents itemtemplate inside my project, but when I change it my listview doesn't show the new layout. Why?

0
Lance | Manager Technical Support
Telerik team
answered on 29 Sep 2016, 05:38 PM
Hello Fabio,

I haven answered you in the other thread you opened for this question

If the issue you raise here is not the same as you asked in the other thread, please let me know and provide more details (code/steps to repro) so I can investigate further.

Note, if you have any new questions, you can submit a support ticket instead of a forum post because you currently have a license. You'll get a quicker turnaround if you choose support ticket (support ticket is 24 hour turnaround). Go here to open a support ticket.

Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
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
Tags
ListView
Asked by
Erik
Top achievements
Rank 2
Answers by
Rosy Topchiyska
Telerik team
Erik
Top achievements
Rank 2
Fabio
Top achievements
Rank 1
Lance | Manager Technical Support
Telerik team
Share this question
or