• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

delete row in datagrid

Hello all ,

what event occured when we delete one row in datagrid by keyboard delete key (in windows program)?
I want to control this delete but I don't know this event
please help me , thanks
0
mehrnoosh
Asked:
mehrnoosh
2 Solutions
 
TonylmillerCommented:
I would say you would use the keypress event and see if it is the delete key, and if it is you could delete the current row.
0
 
TheAvengerCommented:
Try DataGrid.DeleteCommand
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now