GridView sorting on touch

14 posts, 1 answers
  1. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 11 Apr 2013 Link to this post

    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.
  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 12 Apr 2013 Link to this post

    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.

  3. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 12 Apr 2013 Link to this post

    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.
  4. Answer
    Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 15 Apr 2013 Link to this post

    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.

  5. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 15 Apr 2013 Link to this post

    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
  6. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 16 Apr 2013 Link to this post

    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.

  7. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 16 Apr 2013 Link to this post

    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,
  8. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 17 Apr 2013 Link to this post

    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.

  9. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 17 Apr 2013 Link to this post

    The screen we are using is resistive touch. Thanks for working on the problem.

    Best.
  10. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 18 Apr 2013 Link to this post

    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.

  11. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 01 May 2013 Link to this post

    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.

  12. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 17 May 2013 Link to this post

    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
  13. Kad
    Kad avatar
    9 posts
    Member since:
    Apr 2013

    Posted 17 May 2013 Link to this post

    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.
  14. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 22 May 2013 Link to this post

    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.

Back to Top