If the pan gesture
is enabled and you want to plug into the default logic, first make sure that the EnableKineticScrolling
property is set to false
. Thus, you will prevent the scrolling.
Then, you can create a derivative of RadGridView
and override its OnPanGesture
method. There, you can introduce the desired logic you need.
An alternative approach is to create a custom TableViewDefinition
and override its CreateViewUIElement
method where you can replace the default GridTableElement
with a custom one:
public class CustomTableViewDefinition : TableViewDefinition
public override IRowView CreateViewUIElement(GridViewInfo viewInfo)
return new CustomGridTableElement();
public class CustomGridTableElement : GridTableElement
protected override Type ThemeEffectiveType
protected override void OnPanGesture(PanGestureEventArgs args)
Then, in the Designer.cs file replace the default TableViewDefinition
with your custom one.
Should you have further questions please let me know.
Dess | Tech Support Engineer, Sr.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.