PDA

View Full Version : Grid: Row selection and cell editing on same grid



JavascriptParrot
9 Oct 2012, 12:02 PM
Hello all,

I have a problem with a grid that allows to select a row and also have a column which is editable. When select a row, a popup with detail information of the row will be show up, but when click on the editable cell it must be possible to change the value, now it show up the popup if the row isn't selected, if the row is already selected then it's possible to edit. How do I prevent to show the popup when click on the editable column?

I try to use preventDefault and stopDefault on the beforeedit function but it doesn't recognize this options on the event object.

Thanks!

mitchellsimoens
15 Oct 2012, 5:40 AM
In your row selection handling you need to see if it's over the cell that is editable.