How do I change the size of the edit form fields? Currently when I select a row to edit, the fields only display a single line of about 30 characters which isn't very useful at all.
How do I change the default size of the text area(s) to include multiple lines and 80 or so characters in width?
Also, If I double click a field to edit in-line, it displays the same single line of about 30 characters even though the field has been set to word wrap. Can I set it to display the entire field?
I expect I'll run into the same limitations when adding a record -thoughts?
found the answer:
$col["edittype"] = "textarea"; // render as textarea on edit
Works if I double click a field to edit. Problem is, once double click a row to edit, I can't select another unless I reload the grid. Also, if I select a row (single click to highlight) I can't double click it to edit.
For your queries…
>>> I can't select another unless I reload the grid.
You can open all field in edit mode, refer editing > defaultedit.php
>>> Also, if I select a row (single click to highlight) I can't double click it to edit.
Please explain little further. I am unuable to reproduce this issue.
Yes, I can open in edit mode.
But sometimes I can double click an editable field and it opens the field for inline editing directly in the selected field. But most of the time it will only select the row on double click
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!