Delete button cancel

QuestionsDelete button cancel
Gustavo Lazaro asked 4 years ago

Dear Abu. Is there any possibility in the box to add or modify, remove the Cancel button?

1 Answers
Abu Ghufran Staff answered 4 years ago

You can set:

$opt[“add_options“][“afterShowForm”] = ‘function (form)
{
$(“#cData”).hide();
}
// ….
$g->set_options($opt);

Same applies for edit, $opt[“edit_options“][“afterShowForm”] = “…”;

To modify dialog elements, it’s general answer to connect this callback and inspect ID of the element using browser debugger inspector and modify its attributes using jQuery.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

12 + 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?