function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrew Hoban 6Andrew Hoban 6 

Lightning:datatable - How to extend the inline edit input for multiple lines using CSS

Hi,

I have created a lightning:datatable that uses the inline edit functionality.

For long text area fields, is it possible to edit the css to allow text on multiple lines?

User-added image
NagendraNagendra (Salesforce Developers) 
Hi Andrew,

Sorry for this issue you are facing.

Unfortunately, this is not possible as of now.

There's an idea which is active on the success community for which you can upvote so that it gets available in the mere future.

You can find the idea at the below link. Hope the information helps.

Kindly mark this as solved of the reply was helpful.

Thanks,
Nagendra
Raj VakatiRaj Vakati
I am not sure how easy it is to do it and In lightning:datatable there is no attribute to set text wrapping styles or etc and more over you are trying to do based on text contact .. 

can you try to use the css to increase the width and use ! importance event where?
 
table {
            border: thin solid black;
            width: auto;
            height: auto;
        }

 
Andrew Hoban 6Andrew Hoban 6
That didnt seem to work. Im not sure how im able to get to the inline input to edit. 
Raj VakatiRaj Vakati
I dnt think so you can able to do it .. create your own custom table in that case