Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2320
delete key with filter row question
posted

I have a XamGrid, with a filtersettings set to display the filter row.

We have functionality in the grid mouse events to detect the delete key and to delete any selected rows.  The problem is, if they are trying to remove the filter cell value by hitting the delete key while using the filter row, our logic is still being fired. 

How would I tell whether they are in a regular grid row, or the filter row when the "DEL" key is pressed?

Parents
No Data
Reply
  • 12631
    posted

    I am curious why you are trapping the DEL key yourself?  xamgrid already supports deleting rows using by listening for the DEL key press, and we expose RowDeleting and RowDeleted events if you want to plug into the delete pipeline.

    Is there a scenario that we aren't supporting for you?

    Devin

Children