Editing datatable cell with attributes

I have this column in a datatable

{ id:‘code’, editor:‘text’, header:[‘code’, {content:‘textFilter’}], attributes:{ maxlength :3 }, fillspace: true, sort: ‘text’}

but the limitation for i.e. characters filled in a datatable cell can’t set by a attribute.
How can I set a attribute for a data cell in a datatable like in a form field?



Hi @Michael

To add custom attributes to an editor, you would need to create an extended version of text editor with modified rendering: Code Snippet
This can be extended a bit further with the possibility to add any custom attributes to the input: Code Snippet

Thank you Listopad.

Have a great and happy new Year 2024 … :grinning: