We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Selecting datagrid row (first column string) upon keypress

hi DF I have a requirement, seen something similar but not met the requirement. I want to trap the keystrokes, user typing especially in the first column (Datagridtextboxcoln) it contains customer firstname, say if it contains Smith, we have to locate it by typing S M I T H followed by each letter or someof the letters. i know we have to write code in handlekeypress of datagridtextboxcoln, how to scroll the datagrid row towards correct row? if any of my requirement is not clear mail me back Thanks sahridhayan from INDIA

1 Reply

AD Administrator Syncfusion Team January 17, 2003 08:29 AM

hi if you want to scroll to a certain possition then try this: create a class that inherits from Windows.DataGrid Class, and then use the protected method GridVScrolled. Dim Position As Int16=13 Me.GridVScrolled(Me, New ScrollEventArgs(ScrollEventType.LargeIncrement, Position) > hi DF > > I have a requirement, seen something similar but not met the requirement. > > I want to trap the keystrokes, user typing especially in the first column (Datagridtextboxcoln) > it contains customer firstname, say if it contains Smith, we have to locate it by typing > S M I T H followed by each letter or someof the letters. > > i know we have to write code in handlekeypress > of datagridtextboxcoln, how to scroll the datagrid row towards correct row? > > if any of my requirement is not clear > mail me back > > Thanks > sahridhayan > from INDIA > > > > > >

Loader.
Live Chat Icon For mobile
Up arrow icon