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
725
Losing the focus on the Grid
posted

Hello everyone

I have a grid in which the user introduces info. By pressing Enter in the last column of the row he is modifying, I immediately open a new row for him to start a new line. In the image I send, you can see that a new row is available to be completed. But, if he leaves the Grid without completing it, this row gets deleted. All that works fine. My problem is, when he abandons the row by clicking on another row, say by clicking on row nº 7 (see image), because I go through the Grid scanning for incomplete rows to delete, it is as though the Grid loses the focus... I suppose I have to capture the index of the row he has clicked on before looking for empty rows to delete. Ideally, I would like row nº 7 to go in Edit Mode after I have erased the incomplete row... How do I do that? What events do I use? I hope you understand what I mean. Thanks.