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
340
How can I set Foucus back to previous cell
posted

 I had quick search implemented in first column of the grid and on after cell update check in Database that item exists or not. IF exists then fill row other cell with values and cursor moves to next cell but if item not exists then I had reset focus back to first cell although I tried

                                 this.ultragrid1.ActiveCell = ultragrid1.ActiveRow.Cells[0] ;
                                this.ultragrid1.PerformAction(UltraGridAction.EnterEditMode, false, false);

but its not working  and on press of tab it search and cursor moves to next cell of the row.Can you suggest me a way to set focus back to previous cell.

Parents Reply Children