ListView / Grid layout - item stays selected

When item is selected I get a blue highlight that it is selected. The cell is a navigation button and when i navigate back to the page,  the item still appears selected. How do I de-select programatically when leaving the page or returning to it? or in XAML. Here is my XAML. Both SelectionMode="SingleDeselect"  and SelectionMode="Single"  keep the item appearing as selected. (Also how do i change the color of the selected  cell? )


    ``` <sync:SfListView x:Name="mylistView" Margin="0,10" FocusBorderThickness="0" SelectionMode="SingleDeselect" 
                             ItemSpacing="10"
                     ItemsSource="{Binding MainMenuItems}"   ItemTapped="ListViewOnItemTapped"
                     ItemSize="{OnPlatform Default=400, Android={OnIdiom Phone=170,Tablet=190},
                     iOS={OnIdiom Phone=170,Tablet=190}}">```


1 Reply 1 reply marked as answer

SS SaiGanesh Sakthivel Syncfusion Team August 6, 2020 01:18 PM UTC

Hi Russ,  
  
Thank you for contacting syncfusion support.  
  
#Regarding ListView / Grid layout - item stays selected  
We have checked the reported query from our end. We would like to inform you that we have already documented your requirement “how to deselect the selected item after navigation”. Please refer to the following KB link for your reference,  
  
  
We hope this helps. Please let us know if you need further assistance. 
  
Regards,  
SaiGanesh Sakthivel

Marked as answer
Loader.
Up arrow icon