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
215
Set focus to Next Row programatically
posted

Hi,

I have a WinGrid with 10 columns. User enters data in first 4 columns and once the user clicks tab/enter on 4th column, a webservice is called to fill-in the remaining columns of that particular row. And then, once data is all populated, the focus/cursor should be placed in the first column of the next row. But, my program is not working like that. After populating the row with the web service returned data, the cursor remains in 5th cloumn of active row. I have all the functionaly written in gridProducts_BeforeCellDeactivate event. Please some one tell me how should I change the focus to next row?

 Thanks,

Suneela.

Parents
  • 1360
    posted

    I think you can get there by using the PerformAction method on the grid, using the appropriate UltraGridAction value

Reply Children