Can I use a DataTemplateSelector for the RadListView?

5 posts, 1 answers
  1. Erik
    Erik avatar
    43 posts
    Member since:
    Jan 2011

    Posted 16 Oct 2015 Link to this post

    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

  2. Answer
    Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 21 Oct 2015 Link to this post

    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
  3. DevCraft banner
  4. Erik
    Erik avatar
    43 posts
    Member since:
    Jan 2011

    Posted 21 Oct 2015 in reply to Rosy Topchiyska Link to this post

    Thanks.  I voted for it.
  5. Fabio
    Fabio avatar
    5 posts
    Member since:
    Sep 2013

    Posted 27 Sep in reply to Rosy Topchiyska Link to this post

    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?

  6. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    137 posts

    Posted 29 Sep Link to this post

    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
Back to Top
DevCraft banner