Edit form size and in-line edit properties

QuestionsEdit form size and in-line edit properties
Scott Pratt asked 12 years ago

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?

4 Answers
Scott Pratt answered 12 years ago

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.

Abu Ghufran answered 12 years ago

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.

Regards,

Scott Pratt answered 12 years ago

Abu,

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

Abu Ghufran answered 12 years ago

Hello Scott,

I am unable to re-generate this issue, and heard it first time in support queries.
Can you check if it exist on some other machine too.

Also tell me the browser and OS config you are using.

Regards,

Your Answer

3 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?