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

WPF RadGridView Scrolling Issues...

4 Answers 853 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 25 Nov 2010, 03:11 PM
Hi,

I'm a licenced user of the WPF controls and have found a few issues during development of an application.  Originally i thought these issues were down to my use of some custom columns and the behaviour i need, however, after many a fraught hour testing and re-testing i eventually loaded the WPF Demo (Q2 2010 SP1) and looked at the sample.  To my amazment the samples also show the same behaviour!!

Issue 1: The first issue is is to do with editing cells and the scroll bar:
1) Start the GridView Editing sample from the demo's
2) Double click any cell to get the edit box
3) CLICK in the scroll bar on the right somewhere BELOW the handle (don't pick up the handle/bar and drag it as this works fine, it's only when clicking the free area either side of the handle).
4) In the grid there will now be a white cell (it can be in any of the columns not nessesarily the original column, this is more obvious when there is a horizontal scroll-bar)

I have tried many things (including cancelling the edit on scroll, which doesn't work as the event is only fired when the scroll bar is dragged!).  I can't turn virtualization off due to memory and performance constraints (though neither seemed to actually fix the issue). 

Issue 2: The second issue is with the filter drop down window when the grid is in defered scrolling mode:
1) Create a standard grid on a form, ensure the filters are enabled and there is enough data to generate a sizable vertical scroll bar (i.e data height is at least twice that of the visible area).
2)  Start the application with the ScrollMode set to "RealTime" (or the default mode).
    a) Open a filter drop-down for any column that has lots of unique values in it (this is to ensure the filter drop-down has a vertical scroll bar in the list)
    b) Scroll the filter list up and down by dragging the handle.  This should work as expected.
    c) Stop the application
3) Change the grid ScrollMode to "deferred" and restart the application
    a) Open the filter drop-down for the same column as last time
    b) Scroll the filter list up and down by dragging the handle.  This now doesn't move the scroll bar in the filter drop-down but DOES scroll the parent grid up and down!!

This is a very strange one.  The up and down arrows at the top and bottom of the scroll bar work as expected (as well as the mouse wheel) however the grab-handle scrolls the parent grid?!

I've been unable to find a work-around for either of these issues (and Google has not been kind either!!).  If nessesary i will open a support ticket but all the nessesary steps for replication are above.

I'm using the 2010 Q2 SP1 WPF Controls in Visual Studio 2008 in a standard WPF Application project.  Both of these issues can be replicated easily using either the telerik demo's or a new blank project.

Has anyone had this issue before and can someone please help (my client isn't a happy bunny!!).

Cheers

(edit for spelling/gramar correction only)

4 Answers, 1 is accepted

Sort by
0
Darren
Top achievements
Rank 1
answered on 26 Nov 2010, 10:08 AM
Anyone got any ideas on this?  Telerik?

I could really do with a solution/acknowledgement that this is an issue (and if possible an idea of how to fix in the source or when a fix will be avaialble).

Thanks Again.
0
Yordanka
Telerik team
answered on 26 Nov 2010, 03:22 PM
Hi Darren,

Thank you for the feedback.
We will investigate the first issue and will notify you as soon as we have more information.
Unfortunately, the second issue is a known problem with nested ScrollViewer in WPF. In the attached application you can see this with no RadGridView involved.
 
Best wishes,
Yordanka
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Darren
Top achievements
Rank 1
answered on 29 Nov 2010, 10:33 AM
Hi,

Thanks for the reply.   We have created a support ticket to assist in getting the first issue resolved as soon as possible.

Thanks
0
Yordanka
Telerik team
answered on 01 Dec 2010, 01:25 PM
Hi Darren,

We managed to fix the first issue and the fix will be included in our internal build next Monday.

Best wishes,
Yordanka
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
Darren
Top achievements
Rank 1
Answers by
Darren
Top achievements
Rank 1
Yordanka
Telerik team
Share this question
or