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

WPF Grid View ScrollBar

6 Answers 459 Views
GridView
This is a migrated thread and some comments may be shown as answers.
sarag
Top achievements
Rank 1
sarag asked on 07 Feb 2011, 04:48 PM
I am new to WPF Controls, we are using RAD Grid view in my project, this is a touch screen application. my question is .
Is there any way that i can show the horizontal scrollbar on the top of the column header and i want to show the horizontal scrollbar right after the frozen column. not from the begining of the grid.

regards
sarag.

6 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 08 Feb 2011, 05:52 PM
Hi sarag,

 
RadGridView uses its own GridViewScrollViewer and within its template this control follows its own logic. 
Unfortunately with the current implementation of the RadGridView and its parts this cannot be easily achieved and it may result in an unexpected behavior.

Best wishes,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
sarag
Top achievements
Rank 1
answered on 09 Feb 2011, 04:45 PM
Is there any can i move the scrollbar using the command buttons, so that i can hide the gridview horizontal scrollbar, and make my functionality work with command buttons.

thanks
0
Ivan Ivanov
Telerik team
answered on 14 Feb 2011, 10:56 AM
Hi sarag,

 In order to hide the horizontal scrollbar, you may try modifying the GridViewScrollViewer template, changing the horizontal scrollbar's visibility to "Collapsed". Refer to the attached project, please.

All the best,
Ivan Ivanov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
sarag
Top achievements
Rank 1
answered on 14 Feb 2011, 04:49 PM
Hi Ivan Ivanov, 

Thanks for the sample project, this i got it. but my questions is i am using Rad Gridview Q32010, vs 2010 .  i have 3 frozen columns, and 20 other coloumn , now i want to scroll the grid using the command buttons. how can i acheive this. i cannot see this in the sample project. in the sample project i notice only the horizontal scroll bar template is changed.

thanks
sarag. 
0
Ivan Ivanov
Telerik team
answered on 17 Feb 2011, 05:49 PM
Hello sarag,

If I have properly understood you, you require scrolling horizontally, without changing the current cell? Such a behaviour is not replicable with our predefined commands, so I am sending you a workaround, utilising KeyCommandProvider.

Sincerely,

Ivan Ivanov
the Telerik team


0
sarag
Top achievements
Rank 1
answered on 17 Feb 2011, 06:49 PM
thanks a lot that works for me.
Tags
GridView
Asked by
sarag
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
sarag
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or