Joel Sanderi
Top achievements
Rank 1
Joel Sanderi
asked on 01 Dec 2008, 03:11 PM
Hello.
Default behaviour for a radgridview is to scroll one whole "page" when using the mousewheel to scroll, however I would like to change this to something like 5 rows at a time. Is this possible?
Best Regards, Joel
7 Answers, 1 is accepted
0
Hi Joel Sanderi,
Currently, RadGridView has a predefined scrolling step of one 'page' and this step cannot be customized. We will implement the customization feature in one of our next versions.
If you have additional questions, feel free to contact me.
Kind regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Currently, RadGridView has a predefined scrolling step of one 'page' and this step cannot be customized. We will implement the customization feature in one of our next versions.
If you have additional questions, feel free to contact me.
Kind regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
shortie
Top achievements
Rank 2
answered on 17 Jan 2009, 03:48 AM
By the way, Can I change the horizontal scrolling speed?
Thanks in advance.
0
Hi ChunChang,
Currently, the horizontal scrolling speed cannot be changed. If we decide to implement such feature in the future, could you please share more details about your preferences? By what kind of property would like to set the speed? Maybe property setting the number of columns to scroll?
I am looking forward to your response.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Currently, the horizontal scrolling speed cannot be changed. If we decide to implement such feature in the future, could you please share more details about your preferences? By what kind of property would like to set the speed? Maybe property setting the number of columns to scroll?
I am looking forward to your response.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
runningnet
Top achievements
Rank 1
answered on 22 Jan 2009, 11:48 PM
I was able to do this w/ the following code:
void MDEnterpriseWorklist_MouseWheel(object sender, MouseEventArgs e)
{
if (grdEnterprise.RowCount > 0)
{
isBlocking =
true;
}
//throw new Exception("The method or operation is not implemented.");
grdEnterprise.Focus();
if (e.Delta < 0)
grdEnterprise.GridElement.VScrollBar.PerformSmallIncrement(1);
else
grdEnterprise.GridElement.VScrollBar.PerformSmallDecrement(1);
// grdEnterprise.SelectedRows.Clear();
}
0
Hi runningnet,
Thank you for sharing your approach with the community. We appreciate it. However, could you please elaborate a bit more on the approach? What is the type of MDEnterpriseWorklist control? RadGridView does not have a MouseWheel event and therefore I am interested in the type of the MDEnterpriseWorklist.
I am looking forward to your response.
Greetings,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for sharing your approach with the community. We appreciate it. However, could you please elaborate a bit more on the approach? What is the type of MDEnterpriseWorklist control? RadGridView does not have a MouseWheel event and therefore I am interested in the type of the MDEnterpriseWorklist.
I am looking forward to your response.
Greetings,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
runningnet
Top achievements
Rank 1
answered on 12 Jan 2010, 08:17 PM
You can wire up the following event.
this.MouseWheel += new MouseEventHandler(MDWorklistGrid_MouseWheel);
0
Hello runningnet,
Thank you for sharing your solution with the community.
I have updated your Telerik points for it.
Best wishes,
Nikolay
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.
Thank you for sharing your solution with the community.
I have updated your Telerik points for it.
Best wishes,
Nikolay
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.