How can I create a multiline text field cell?

Hi,

I want to use a text field as multiline. When I write long text by automating the row height, it looks like multiline, but this is not exactly what I want. When I press the enter key while the text field is in edit mode, I want it to create a newline and continue typing. But I also added a new row adding function for sfDataGrid to the enter button. So, when the text field is in edit mode, I want it to create a newline inside the text field. But other than that, I want it to add a new row while a location is selected in the sfDataGrid. I added a new row when I entered the SfDataGrid selected. But when I made the text field multiline and pressed the enter key or pressed the shift + enter key, I could not switch to newline. How can I do it? If you have any other advice, I'd be happy to hear it.


Have a nice day.


1 Reply

AP Abinesh Palanisamy Syncfusion Team July 15, 2024 07:27 AM UTC

Hi Ayberk,

As of now, DataGrid does not have support for adding a new line/line break when Enter is pressed in the edit widget. We have already considered your request as a feature. We will implement this feature in any of our upcoming releases. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We appreciate your patience and understanding until then. You can follow up with the below feedback for further details,

 

Feedback link - 50245

 

Regards,

Abinesh P


Loader.
Up arrow icon