Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
/// <summary>
/// Custum grid behaviour
/// </summary>
public
class
CustomGridBehaviour : BaseGridBehavior
{
override
bool
ProcessKey(KeyEventArgs keys)
// Avoid that the next cell is selected if the cell is in edit mode
// and the arrow keys left or right are pressed.
if
(!GridControl.IsInEditMode)
return
base
.ProcessKey(keys);
switch
(keys.KeyCode)
case
Keys.Left:
Keys.Right:
false
;
}