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

Horizontal scrolling when filter returns no result

14 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JDB
Top achievements
Rank 1
JDB asked on 05 Jun 2009, 09:07 AM
Hi,

I'm using a RadGridView with a lot of columns, which requires horizontal scrolling to see all the columns. But when a filter is applied to a column outside the view, and that filter returns no results (empty list), the view scrolls to the start and the horizontal scrollbar disappears. If that happens, I can't clear the filter because I can't scroll to the column the filter is set on.

I tried:

<telerik:RadGridView ScrollViewer.HorizontalScrollBarVisibility="Visible">  
<!-- columns and stuff --> 
</telerik:RadGridView> 

But the scrollbar still disappears.

Is there some solution for this problem?

Thanks in advance.

14 Answers, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 05 Jun 2009, 03:12 PM
Hi RVW,

This issue is already fixed. Latest internal build which fixes the problem will be available later today on our web site.

Sorry for the inconvenience caused.

Sincerely yours,
Nedyalko Nikolov
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
Allan
Top achievements
Rank 1
answered on 05 Jun 2009, 06:33 PM
I'm having a problem with both horizontal AND vertical scrollbars not appearing - I'm on a trial version that I am trying to justify the purchase of. Does the fix work for both H & V scrollbars?
0
Nedyalko Nikolov
Telerik team
answered on 09 Jun 2009, 08:16 AM
Hello Allan,

Of course fix works well for both horizontal and vertical scroll bars.
You can open a support ticket and I'll send you latest internal binaries to check it out personally.

Don't hesitate to contact us if you have other questions.

Greetings,
Nedyalko Nikolov
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
igal a
Top achievements
Rank 1
answered on 15 Nov 2009, 05:07 PM
i'm using the new RadGridView from the Q3 2009 WPF version from november

and i'm having the exact same problem

what should i do?
0
Vlad
Telerik team
answered on 16 Nov 2009, 07:07 AM
Hello,

Later today we will upload our latest internal build where this is fixed.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
igal a
Top achievements
Rank 1
answered on 17 Nov 2009, 09:26 AM
it also happens when the itemsource is null

where is this internal build,
can you send me a link?

what was the problem?
 how did you fixed it?
0
Hristo
Telerik team
answered on 17 Nov 2009, 12:03 PM
Hello igal a,

You can download the latest internal builds from Your Account->Downloads->RadControls for WPF->Latest Internal Builds. The version of the latest internal build should be 2009.3.1116.

Let me know if I can be of further assistance.

Greetings,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
igal a
Top achievements
Rank 1
answered on 18 Nov 2009, 06:40 PM
but right now i'm using the trial, so i can't download it

i'm going to buy it in a week
but before i can do this, i need to make sure that i can do it first,

so is there any workaround for the trial?
0
Hristo
Telerik team
answered on 19 Nov 2009, 09:53 AM
Hi igal a,

We offer a trial version of our latest internal builds. They are available under Your Account->Downloads->Free Trials->RadControls for WPF->Latest Internal Build (Trial).

If you still have difficulties to download the LIB, please open a formal support ticket where I can attach the latest binaries.

Sincerely yours,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
igal a
Top achievements
Rank 1
answered on 21 Nov 2009, 01:07 PM
i downloaded the trial but when i do

ScrollViewer.HorizontalScrollBarVisibility="Visible"
ScrollViewer.CanContentScroll="True"

on the GridView

it still doesn't let me scroll

what should i do?

can you send me a code example of how to make empty gridview scrollable?


thanks
0
igal a
Top achievements
Rank 1
answered on 24 Nov 2009, 10:49 AM
i purchased the telerik controls for wpf, but i still can't get it to work,

can you answer on my previous questions
0
Vlad
Telerik team
answered on 26 Nov 2009, 07:20 AM
Hello,

I've attached an example demonstrating empty grid with horizontal scrolling using our latest binaries.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
igal a
Top achievements
Rank 1
answered on 01 Dec 2009, 03:45 PM
it's not what i meant, your example fills the itemsource with one row,
what i meant is when the itemsource is null


i also tried to put this in the style:

 
        <Setter Property="ScrollViewer.CanContentScroll" Value="True" /> 
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible" /> 
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> 
        <Setter Property="GridView:GridViewScrollViewer.CanContentScroll" Value="True" /> 
        <Setter Property="GridView:GridViewScrollViewer.HorizontalScrollBarVisibility" Value="Visible" /> 
        <Setter Property="GridView:GridViewScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> 


 

but it didn't helped


i think that the problem lies within the

 

GridViewScrollViewer.InvalidateScrollInfo()
or in the
GridViewScrollViewer.MeasureOverride(Size availableSize)

 

 

 

 

 

 

 

0
Vlad
Telerik team
answered on 02 Dec 2009, 06:43 AM
Hi,

The grid is bound to empty enumerable - you can check the code for more info.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
JDB
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Allan
Top achievements
Rank 1
igal a
Top achievements
Rank 1
Vlad
Telerik team
Hristo
Telerik team
Share this question
or