Change width in the modals

QuestionsChange width in the modals
Douglas asked 10 years ago

Hello,
Do you know how i can change width in the modals to "auto"?
I can't see it in code…

And, if i deserve to change the initial position in the modals, how i do it?

Thanks a lot.

2 Answers
Abu Ghufran answered 10 years ago

I haven't tried it. Will let you know with some working example.

Abu Ghufran answered 10 years ago

Try following options …

$grid["add_options"] = array("recreateForm" => true, "closeAfterEdit"=>true, 'width'=>'420', 'top'=>'200', 'left'=>'200');
$grid["edit_options"] = array("recreateForm" => true, "closeAfterEdit"=>true, 'width'=>'420', 'top'=>'200', 'left'=>'200');

$g->set_options($grid);

For delete dialog customization, need to wait for next version of free package.

To customize fields positioning in horizontally or hybrid … that customization is supported in paid package.

Your Answer

9 + 8 =

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?