This is a migrated thread and some comments may be shown as answers.

GridView sorting on touch

13 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kad
Top achievements
Rank 1
Kad asked on 11 Apr 2013, 09:54 PM
Hi,
My gridview sort works great on mouse click but there is no response on touch input. Can you please tell me how to enable it for touch input?

Thanks.

13 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 12 Apr 2013, 11:52 AM
Hi Kad,

Could you try sorting the grid on our latest demos from here. You can use GridView --> FirstLook demo. Generally, there is nothing specific that you should set in order to use touch. Sorting should work with Tap and Hold. Let me know about the result on your end.
 
Regards,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kad
Top achievements
Rank 1
answered on 12 Apr 2013, 05:19 PM
Hi,
I downloaded and installed the latest demo and result is same. It takes multiple taps (around 4) to sort the Gridview. And sometimes multiple taps also don't work.
We would like grid to be sorted just on one tap as that's the only functionality we have enabled on column headers. There is no filtering and no grouping. Is there any possible way we can achieve this functionality?

Thanks.
0
Accepted
Yordanka
Telerik team
answered on 15 Apr 2013, 10:53 AM
Hello Kad,

Could you set TouchManager.IsTouchHitTestVisible to false and check whether the sorting will work? Also, could you specify what is the OS you are working on?
If the above setting doesn't work please send us sample runnable project so we can debug it on our side. Thank you in advance.
 
Greetings,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kad
Top achievements
Rank 1
answered on 15 Apr 2013, 06:08 PM
Hi Yordanka,

Disabling IsTouchHitTestVisible did the job. Could you please explain briefly why this property needed to be disabled? It seems to improve the whole touch responsiveness on grid view.

Thanks a lot!
Kapil
0
Yordanka
Telerik team
answered on 16 Apr 2013, 08:14 AM
Hello Kad,

When IsTouchHitTestVisible is set to false the touch events are not handling and the touch actions on a UI element will be promoted to mouse events.
Could you specify what is the touch monitor you are using? Is it with capacitive touch?
 
Greetings,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kad
Top achievements
Rank 1
answered on 16 Apr 2013, 11:22 PM
Hi Yordanka,

We are using this Media KW from tangent. You can find more details about it here -
http://www.medicalcomputer.tangent.com/medix-kw.php

Let me know if you have some suggestions about it and how we can improve touch performance on telerik based components.

Thanks,
0
Yordanka
Telerik team
answered on 17 Apr 2013, 11:25 AM
Hi Kad,

Thank you for the details.

One more question - is the monitor multi-touch capacitive or with resistive touch? We started working on the problems you report.
 
Regards,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kad
Top achievements
Rank 1
answered on 17 Apr 2013, 11:24 PM
The screen we are using is resistive touch. Thanks for working on the problem.

Best.
0
Yordanka
Telerik team
answered on 18 Apr 2013, 10:39 AM
Hi Kad,

Thank you for the information. I will notify you once we are ready with touch improvements.
 
All the best,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Yordanka
Telerik team
answered on 01 May 2013, 12:23 PM
Hi Kad,

We managed to address the problems with touch support. Could you download our latest internal build - version 2013.1.0429 and test the touch support on your end? Please let me know if you have any problems.

I've updated your Telerik points accordingly.
 
Kind regards,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Kad
Top achievements
Rank 1
answered on 17 May 2013, 04:31 PM
Hi Yordanka,
I tested your latest build but didn't found any improvements. For the testing purposes I disabled setting of IsTouchHitTestVisible to false.

Since I didn't found any improvements for touch, I again enabled setting of IsTouchHitTestVisible to false. But doing so is killing the touch based scrolling of Gridview. It was happening even before I upgraded to latest version. Please advice.

Thanks
0
Kad
Top achievements
Rank 1
answered on 18 May 2013, 12:15 AM
Also, we noticed that upon adding item to the collection (which is binded to Gridview) the sorting order is lost. To overcome this issue - I handled CollectionChange event in which I store the first ColumnSortDescriptor, then clear the SortDescriptorCollection, and add my ColumnSortDescriptor again to SortDescriptorCollection. But .Net threw an exception stating that I can't change the observable collection while handling CollectionChange event.
0
Yordanka
Telerik team
answered on 22 May 2013, 12:40 PM
Hello Kad,

We tested the touch improvements on different machines and everything works fine on our end. Could you confirm version of the Telerik controls you are using?

As to the other issue, please open a separate thread for this topic.
 
Regards,
Yordanka
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Kad
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Kad
Top achievements
Rank 1
Share this question
or