3 Answers, 1 is accepted
Thank you for writing.
RadGridView supports scrolling with the mouse wheel by default. What you have to do is to click on any cell in the grid in order to focus it and then use the mouse scroll to scroll it.
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Stefan
Telerik
We have made a custom control by overriding GridViewTextBoxColumn as shown below. Mouse wheel scroll is not working. I am not getting any property to set for Mouse wheel scrollas well.
using System.Data;
using System.Drawing;
using Telerik.WinControls;
using Telerik.WinControls.UI;
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Text.RegularExpressions;
namespace Viacom.Alias.UserControls
{
public class GridViewCustomColumn : GridViewTextBoxColumn
{
#region Variables
public string DisplayMember { get; set; }
public string CodeMember { get; set; }
public string CellDataType { get; set; }
public string CellMask { get; set; }
public string CellDropDown { get; set; }
public string CellDropDownCriteria { get; set; }
public bool IsClearable { get; set; }
public int DropDownHeight { get; set; }
AliasDateEditor dateEditor;
RadMaskedEditBoxEditor maskEditor;
I have tested the provided column and it is not the reason why scrolling is not working. Perhaps you have a custom cell as well and if so, you should make sure that you properly set the ShouldHandleMouseInput and NotifyParentOnMouseInput properties of the elements in the custom cell to allow notification of the grid.
If you still have issues, you can make a small sample using your column and demonstrating how the scrolling does not work, so I can investigate the precise case and help you resolve it.
I am looking forward to your reply.
Regards,
Stefan
Telerik