We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Listview with 3 dimension

Thread ID:

Created:

Updated:

Platform:

Replies:

146801 Aug 20,2019 04:16 PM UTC Jan 21,2020 04:25 AM UTC Xamarin.Forms 8
loading
Tags: SfListView
Mustafa
Asked On August 20, 2019 04:16 PM UTC

Hi,

I need to use listview with 3 dimension. I am developing an app for sport.

Here is the scenario :

-Country List
-Leagues for the country
-Games


For example :

England
Premier League
Arsenal - Liverpool
Chelsea - West Ham United
Championship
Leeds United - Fulham
France
Ligue 1
Bordeaux - PSG
Ligue 2
Chateroux - Lyon
Monaco - Marseille
Ligue 3
Touluse - Nantes


It should be expandable, so when user open the list first time, they see country list and when they expand it, they should see the leagues. When they click on the league, it should expand and show the games

Thanks

Sangeetha Raju [Syncfusion]
Replied On August 21, 2019 04:49 PM UTC

Hi Mustafa, 
 
Thank you for contacting Syncfusion support. 
 
We have checked the reported query “Listview with 3 dimension” from our side. We would like to let you know that your requirement can be achieved by adding the Expander inside the SfListView as like below code snippet. We have prepared a sample to achieve the Expandable ListView with three dimension. Please find the sample from the below link. 
 
<listView:SfListView ItemsSource="{Binding Countries}" > 
   <listView:SfListView.ItemTemplate> 
      <DataTemplate> 
         <expander:SfExpander DynamicSizeMode="Content"/> 
      </DataTemplate> 
   </listView:SfListView.ItemTemplate> 
</listView:SfListView> 
 
 
 
Can you please check with the above sample and let us know whether the provided solution meets your requirement. 
 
Regards, 
Sangeetha Raju. 


Mustafa
Replied On September 26, 2019 11:31 PM UTC

Hi,

I have tested your solution but it doesn't work when the collection is scrolled. If you have few items, then it is OK (as your sample).

But when the collection doesn't fit to the listview and you start to scroll to the down :

1- When you scroll back to the top and expand first or second or third item, it is just empty
2- If you expand first or second or third item and start to scroll down, some other items in the list are expanded already.

Plus scrolling up and down is extremely slow and lags very much.

I have attached the same solution you have added with more items so that you can test...

Regards

Attachment: 1468011524798963_2c79d13a.rar

Sangeetha Raju [Syncfusion]
Replied On September 27, 2019 12:47 PM UTC

Hi Mustafa, 
 
We have checked the reported query from our side. We would like to inform you that the reported issue “some other items in the list are expanded while scrolling” gets resolved when IsExpanded property of Expander is bounded to model data. We could able to replicate the another issue “items are empty when scroll back to the expanded item”. We have to analyze whether the issue occurs in SflIstView or SfExpander. We will check and update the further details on September 30, 2019. We will appreciate your patience until then. 
 
Regards, 
Sangeetha Raju. 


Mustafa
Replied On October 1, 2019 09:17 PM UTC

It is 2nd of October now, can you please check the solution soon?

Regards..

Gnana Priya Namasivayam [Syncfusion]
Replied On October 2, 2019 06:11 AM UTC

Hi Mustafa, 
 
Sorry for the inconvenience caused. 
 
We are still working on the reported query with high priority from our side. We will validate and update you further details on October 3, 2019 without fail. We will appreciate your patience until then. 
 
Regards, 
Gnana Priya N 


Sangeetha Raju [Syncfusion]
Replied On October 3, 2019 12:08 PM UTC

Hi Mustafa, 
 
Sorry for the inconvenience caused. 
 
We would like to inform you that you can achieve your requirement by using MultiLevel grouping SfListView instead of SfExpander to overcome the reported issue. We have prepared a sample for your reference. Please find the sample from the following link. 
 
 
Can you please check and let us know whether the provided solution meets your requirement. 
 
Regards, 
Sangeetha Raju. 


Mustafa
Replied On January 20, 2020 01:47 PM UTC

yes, it works great. Thanks

Lakshmi Natarajan [Syncfusion]
Replied On January 21, 2020 04:25 AM UTC

Hi Mustafa, 
  
Thank you for the update. 
  
We are glad that our solution meets your requirement. Please let us know if you need any further update. As always we are happy to help you out. 
  
Regards, 
Lakshmi Natarajan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon