Grid, press enter move cursor right

Dear all

I want wxgrid to move cursor right instead of down
when I press enter

how do I do that?

to make it clear

I have a grid
then I use

evt_grid_cell_change() do |event|
grid_change(event)
end

in grid_change(event) I do alot of calculation
but I want that after the calculation finish,
cursor move right instead of going down

I already tried move_cursor_right but it gives me error
unless I pass false as parameter, then it will block the cell and the
cell
right to it
but the cursor still going down

I am not using table base, just the grid
so, how to achieve what I need?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs