modal form in subgrid

Questionsmodal form in subgrid
Alex asked 11 years ago

when i use modal form in subgrid, i makes modal only the subgrid, how can i make modal including the parent grid?

2 Answers
Alex answered 11 years ago

fixed:
i had this code:
$grid["add_options"]["jqModal"] = true;
$grid["edit_options"]["jqModal"] = true;

$grid["add_options"] = array('width'=>'640','height'=>'300',"dataheight"=>'250',"recreateForm"=>true);
$grid["edit_options"] = array('width'=>'640','height'=>'300',"dataheight"=>'250',"recreateForm"=>true);

now is working the modal form with this code

//$grid["add_options"]["jqModal"] = true; //disabled
//$grid["edit_options"]["jqModal"] = true; //disabled

$grid["add_options"] = array('width'=>'640','height'=>'300',"dataheight"=>'250',"recreateForm"=>true,"jqModal"=>true);
$grid["edit_options"] = array('width'=>'640','height'=>'300',"dataheight"=>'250',"recreateForm"=>true,"jqModal"=>true);

however, when i click outside form it closes.

Abu Ghufran answered 11 years ago

Subgrid modal covers parent grid too.
May be you need latest build for this change, and i am emailing you.

Your Answer

9 + 19 =

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?