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

GridView Rendering On Touch Devices

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 26 Mar 2017, 08:10 PM
Hi,

It appears that the GridView is being rendered differently on a touch enabled device as opposed to a normal PC.  See attached screenshots.  It this expected?  Is there a way to disable touch such that it renders the same on both devices (I've tried using the touch manager without success)?  Am I barking up the wrong tree i.e. does it somehow relate the performance of the PC and / or graphics card?

You will note from the screenshots that I have 2 gridviews (one horizontal and one vertical).  They are precisely placed such that columns on the horizontal gridview align with the row of the vertical gridview (scrolling is synchronised).  This works perfectly on my development PC however on my surface pro it renders differently such that the gridviews don't align. 

Note that misalignment / different rendering seems to be originating from the customs styles I have developed (HeaderCellStyle, HeaderRowStyle and CellStyle).  Note the inconsistent border thicknesses.

Note that am I using the latest binaries (R1 2017) on both machines.

Please advise.

Thanks

Ian

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 29 Mar 2017, 11:08 AM
Hi Ian,

There is no specific change in the mechanism for rendering the RadGridView control for touch-enabled devices that we are applying. However, the issue might be related to the different resolution of the devices or how they interact with the WPF technology. Though the issue seems more related to the general implementation of the technology, would it be possible to provide the styles that target the cell elements from your end so we can try to replicate the behavior? Isolating the issue in a sample will be appreciated as well.

Regards,
Stefan Nenchev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Ian
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or