Delete dialog width height

QuestionsDelete dialog width height
Jorge asked 10 years ago

Hi Abu,

I'm using the phpgrid licenced vesion and the delete dialog confirm of the grid is smaller and we tried to modify with the next code:

$opt["delete_options"] = array('width'=>'150','height'=>'200');

But it did not work. We used the add_options and edit_options and were ok.

Another problem we have with all the dialogs is when we tried to add parameters to change the top and left for the dialog it did not work (for example):

$opt["add_options"] = array('width'=>'150','top'=>'200','left'=>'200');

Thanks in advance.

Jorge

1 Answers
Abu Ghufran answered 10 years ago

// you can set in following manner, i've verified and tested it

$opt["delete_options"]["width"] = "500";
$opt["delete_options"]["height"] = "300";

//To specify exact top/left position (as above), you need to set:

$opt["form"]["position"] = "";
$opt["add_options"]["jqModal"] = true;

$g->set_options($opt);

Also make sure you are passing correct variable to set_options.

Your Answer

18 + 7 =

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?