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. Image for the cookie policy date

Listview with 3 dimension

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

8 Replies

SR Sangeetha Raju Syncfusion Team 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. 



MU Mustafa 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


SR Sangeetha Raju Syncfusion Team 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. 



MU Mustafa October 1, 2019 09:17 PM UTC

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

Regards..


GP Gnana Priya Namasivayam Syncfusion Team 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 



SR Sangeetha Raju Syncfusion Team 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. 



MU Mustafa January 20, 2020 01:47 PM UTC

yes, it works great. Thanks


LN Lakshmi Natarajan Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon