Possible to have input expand when entering input to see all text
Possible to have input expand when entering input to see all text
thegamechangerpro
Posts: 81Questions: 30Answers: 1
Please see this example:
https://datatables.net/examples/api/form.html
you will see that line two position is not completely visible (this is fine)... Is it possible to have the field expand (or something similar) when you enter that input field? Just a way to see and edit the full contents of the input field. (inline).
This question has an accepted answers - jump to answer
Answers
That's not something that either DataTables, nor Editor would do I'm afraid.
The answer is, yes it is possible with absolute positioning:
But part of the issue you'll have is calculating what the width is. If you can do that, then you could set absolute positioning on the input when focused and remove it when blurred.
Allan
Thanks Allan! I appreciate the speedy response!