Delete dialog

QuestionsDelete dialog
Roberto López asked 7 years ago

How to modify size of Delete dialog confirmation?

greetings

3 Answers
Abu Ghufran answered 7 years ago

Hello,

You can configure it using delete_options.

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

$g->set_option($opt);

Regards,

Roberto López answered 7 years ago

Hello, thank You for your answer…

But, it did not work. Works fine for Add or Edit dialog, but not for delete dialog. This is part of my cod:

$grid["sortname"] = 'cliente_id';
$grid["sortorder"] = "desc";
$grid["caption"] = "= Clientes =";
$grid["multiselect"] = false;
$grid["autowidth"] = false;
$grid["width"] = "800";
$grid["add_options"] = array("recreateForm" => true, "closeAfterEdit"=>true, 'width'=>'500', 'top'=>'250', 'left'=>'200');
$grid["edit_options"] = array("recreateForm" => true, "closeAfterEdit"=>true, 'width'=>'500', 'top'=>'250', 'left'=>'200');
$grid["delete_options"] = array('width'=>'350','height'=>'200');
$grid["export"]["range"] = "all";
$g->set_options($grid);

$g->set_actions(array(
"add"=>true,
"edit"=>true,
"delete"=>true,
"rowactions"=>true,
"export_excel"=>true,
"autofilter" => true,
)
);

$g->select_command = "SELECT cliente_id, cliente_rut, cliente_nombre, cliente_direccion, clientes.comuna_id,
comunas.comuna_nombre as cid,cliente_giro, cliente_condiciones, cliente_email, cliente_telefono,
cliente_comision, cliente_factor FROM clientes INNER JOIN comunas ON clientes.comuna_id = comunas.comuna_id";

$g->table = "clientes";

$g->set_columns($cols);

$out = $g->render("list1");

Abu Ghufran answered 7 years ago

Hello,

I've emailed you update.
Please override.

Your Answer

8 + 18 =

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?