Hello,
You can configure it using delete_options.
$opt["delete_options"] = array('width'=>'150','height'=>'200');
…
$g->set_option($opt);
Regards,
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");