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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to restrict the circular effect in the GridComboBoxColumn when using touch screen?

In the SfDataGrid, the GridComboBoxColumn loads the ComboBox as its edit element. The ComboBox loads the ItemsPanel as the CarouselPanel in WinRT, by default. So, infinite loop occurs when scrolling the ComboBox items. You can overcome this by changing the ItemsPanel of the ComboBox as the StackPanel, as mentioned in the following MSDN link:

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/00807f53-8163-409a-ae84-1f30fb1a5238/revolving-combobox-how-do-i-make-a-combobox-not-loop-around-the-items?forum=winappswithcsharp

 

The following code example illustrates the ItemsPanel of the ComboBox that is changed to StackPanel.

XAML

 

Sample Link:

WinRT: http://www.syncfusion.com/downloads/support/directtrac/139091/ze/WinRT1790494015

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
5262 07/28/2015 07/28/2015 WinRT SfDataGrid 4.5
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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