appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.32k stars 3.72k forks source link

[Feature] Add support for new line characters within table widget cells #4328

Open nidhi-nair opened 3 years ago

nidhi-nair commented 3 years ago

A user on Discord wanted to be able to format their table data with new line characters but the table only supports a single line of data.

Front logo Front conversations

nidhi-nair commented 3 years ago

Another way to solve this would be to create a new ColumnType for HTML as the user on Discord suggests. We might want to consider other formatting mechanisms as well.

An alternative to adding support for newline characters specifically would be to add a column type "HTML" (instead of using "Plain text") which would render the contents as HTML, similar to the "Text" widget.

somangshu commented 3 years ago

note:

Question: @vicky-primathon @riodeuno

dilippitchika commented 2 years ago

Discussed with @sbalaji1192 can be done with word wrap logic, we can wrap if we encounter a new line character or the limit is reached. Dependent on #5693

areyabhishek commented 1 year ago

Got another request for this feature today on Discord. https://discord.com/channels/725602949748752515/1053001054482092233

dilippitchika commented 1 year ago

@sbalaji1192 can you look at this once and document the changes we need to make

dilippitchika commented 1 year ago

This issue needs validation on how many users it will help if we release this feature. Because not a lot of users will have data with line break characters.

A quick check might be to understand how many users have an rte or textarea widget and are trying to use it with a table, though this data might be hard to grasp

ame-appsmith commented 9 months ago

Another Enterprise user needs this feature.