Our blazing fast Grid component built with pure JavaScript


Post 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;
      },
Attachments
Screenshot 2025-04-24 at 15.48.13.png
Screenshot 2025-04-24 at 15.48.13.png (174.76 KiB) Viewed 267 times
Screen Recording 2025-04-24 at 15.33.34.mov
(1.56 MiB) Downloaded 8 times

Post 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.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post by tjmeal »

Perfect,

Thank you very much !!


Post Reply