We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Prevent Clicking enter from closing the line editor

Hi,
I have a case where the user will right instructions inside the grid column, I'm using this example from the website where a rich text editor is integrated with the grid, in the example if you click enter, a new line will be created in the text box (That what I need) but what I have is, the grid editor will close, I tried with normal text are and the same behavior, any ideas how to stop it?


3 Replies

RR Rajapandi Ravi Syncfusion Team May 4, 2023 01:07 PM UTC

Hi Abdul,


Greetings from Syncfusion support


We have checked your shared information and we could see that you like to prevent closing the editing state on clicking the enter button but in this documentation while pressing enter it will create a new line and working fine. Please refer the below code example and sample for more information.


Video demo:


If we misunderstood anything wrongly, please share your exact requirement scenario and problem scenario in video demonstration format.


Regards,

Rajapandi R


Attachment: 182142_f90503e7.zip


AM Abdul Mounem May 4, 2023 01:44 PM UTC

Hi,

In the video you send, this is what I need, being able to click enter without closing the edit mode, but for me, it's closing, please check the attached video for what I'm facing


Attachment: 20230504_164325_395c6e13.rar


DM Dineshnarasimman Muthu Syncfusion Team May 5, 2023 05:14 PM UTC

Hi Abdul,


We have reviewed your query about prevent closing the edit mode when enter is clicked. We understand that you are facing the issue when clicking the enter key, but we cannot replicate the issue you are facing. To proceed further can you please provide the following details which will help us to provide better solution.


  • Grid Rendering code.
  • Customizations made in the grid.
  • Step by step procedure to replicate the issue.
  • Syncfusion package version.


Regards,

Dineshnarasimman


Loader.
Up arrow icon