Page 1 of 1

[INFO REQ] Line breaks in cells with editor : 'textarea'

Posted: Wed Jun 16, 2021 11:36 am
by Mercury

Dear Bryntum team,
is it possible to use line breaks when editing cells that are configured with editor : 'textarea' like in your autoheight example?
In your docs it seems like this should be possible with textarea widgets used as editor within columns. However, in the example above line breaks are not possible in the notes-column for example.
Thanks a lot for any hints!


Re: [INFO REQ] Line breaks in cells with editor : 'textarea'

Posted: Wed Jun 16, 2021 2:48 pm
by saki

There is on option described here: https://www.bryntum.com/docs/grid/#Core/widget/TextAreaField%23config-inline Then you can configure the column editor as:

editor : {
    type : 'textarea',
    inline : false
},

Re: [INFO REQ] Line breaks in cells with editor : 'textarea'

Posted: Wed Jun 16, 2021 5:31 pm
by Mercury

Thanks a lot, Saki!