Page 1 of 1

[REACT] When Cell Editor Is Open And Click Enter Move To Next Row

Posted: Thu Apr 24, 2025 2:48 pm
by tjmeal

Dear all,

Please check the video attached:

1) Open the cell editor
2) Make an update
3) Click enter
4) It moves to the next row and open the cell editor.

How can i stop the step 4) from happening > i want when click enter > to close current editor and stop there. (not more to the next row and open the editor again)

I tried the following code but i am getting the error attached.

      beforeFinishCellEdit(props) {
        props.source.up('grid').finishEditing();
        return false;
      },

Re: [REACT] When Cell Editor Is Open And Click Enter Move To Next Row

Posted: Thu Apr 24, 2025 6:21 pm
by marcio

Hey tjmeal,

Thanks for reaching out.

You need to set https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-editNextOnEnterPress config to false. Please check the docs to better understanding on how it works.


Re: [REACT] When Cell Editor Is Open And Click Enter Move To Next Row

Posted: Sat Apr 26, 2025 12:00 am
by tjmeal

Perfect,

Thank you very much !!