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

Displaying the 'virtual' row during scrolling

7 Answers 123 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 17 Feb 2009, 03:49 PM
In the first-look example for the RadGridVZiew, is shows the virtual row while scrolling (pop-up on the right side of the grid next to the scrollbar).  In my use of the grid, I cannot see how to get the virtual row contents to be displayed during scrolling.  It is not apparent on how to do this in looking at the first-look source code either.  what is the trick?

 

7 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 19 Feb 2009, 02:26 PM
Hi GEB,

The pop-up is only shown when the ScrollMode is set to Deferred and only when you use the scroll bar thumb. Deferred mode is turned on by default. In case it is turned off in your application your can turn it on like that:
<telerik:RadGridView x:Name="gridView" ScrollMode="Deferred"/> 


Kind regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
GEB
Top achievements
Rank 1
answered on 19 Feb 2009, 04:08 PM
I have explicitly set the ScrollMode to Deferred, and it still does not show the virtual row.  And, using your latest builds, this does not work in a simple example as well.  As does your example, I'm using data binding   How does it know which column to use as the virtual row value when scrolling?  My RadGridView has about 200 rows, and the rows are inserted in no particular order.  When I select the header column and sort the rows, the virtual row is still not displayed as I scroll.  When the column is sorted, there are only about 4 or 5 unique values in the column that is sorted.  How many unique value are needed before the virtual row is displayed?

The simple example was one that I sent over on a previous support ticked that showed a crash in the RadGridView for the 'foreground' property.  This simple example can be used to demonstrate that the virtual row is not displayed.  I can resend that example if necessary.
0
GEB
Top achievements
Rank 1
answered on 19 Feb 2009, 06:56 PM
One more difference in my application versus the example.  In my application, I set AutoGenerateColumns to false, and I create all columns in the code-behind.  In your example that successfully shows the virtual row while scrolling, I believe you always have AutoGenerateColumns set to true.
0
Jordan
Telerik team
answered on 23 Feb 2009, 04:17 PM
Hi GEB,

I've tried to reproduce your issue but to no avail. I suppose that we have fixed this bug after you had your binaries. Attached is my test project with our latest internal build. Can you confirm that you still have the issue? If yes, please send me a sample project to reproduce it.

If you want to send you our latest binaries please open a support ticket.

All the best,
Jordan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
GEB
Top achievements
Rank 1
answered on 24 Feb 2009, 10:00 PM
I tried the sample you sent me, and the latest GridView assembly seems very broken.  If I plug these new assemblies into my application, a "spinner" comes up n the middle of the grid, and spins forever.

Also, in your sample application that you attached, if I sort one of the columns, the same thing happens.  If I go back to the assemblies that were sent to me last week, everything goes back to the way that it was (except the virtual row doesn;t work, and filtering is still broken).
0
Valeri Hristov
Telerik team
answered on 25 Feb 2009, 11:21 AM
Hello Gary,

I sent you a new build in your support ticket, that fixes the reported problems.

Sincerely yours,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
GEB
Top achievements
Rank 1
answered on 26 Feb 2009, 05:01 PM
This latest build fixed the problem.
Tags
GridView
Asked by
GEB
Top achievements
Rank 1
Answers by
Milan
Telerik team
GEB
Top achievements
Rank 1
Jordan
Telerik team
Valeri Hristov
Telerik team
Share this question
or