Customizing Dialog layout(add,edit) and make 2 or 3 elements in each row

QuestionsCustomizing Dialog layout(add,edit) and make 2 or 3 elements in each row
varun asked 8 years ago

Hi,
My Table data is plenty and when i open Dialog to add/edit, Submit button goes out of frame,so i wish to adjust width of dialog(as i saw in your Dialog Layout demo) and i want to keep 2 or 3 elements in row so that all elements are visible and bring sumbit/cancel button within size,and i am full aware it is for premium customers,only this part is needed for me,so i would be thankful if u suggest me the code behind that

1 Answers
Abu Ghufran answered 8 years ago

Try using "formoptions" in column

$col = array();
$col["title"] = "Name"; // caption of column
$col["name"] = "name";
$col["editable"] = true;
$col["formoptions"] = array("rowpos"=>"2", "colpos"=>"1");
$cols[] = $col;

$col = array();
$col["title"] = "Gender"; // caption of column
$col["name"] = "gender";
$col["width"] = "30";
$col["editable"] = true;
$col["formoptions"] = array("rowpos"=>"2", "colpos"=>"2");
$cols[] = $col;

I'm afraid, the edit options for add/edit dialog is not in free version now. I'll try to add in next release.

Your Answer

10 + 10 =

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?