afterShowForm not working for view dialog

QuestionsafterShowForm not working for view dialog
James asked 10 years ago

Hello,

I have a function which is defined in the afterShowForm property of edit_options, add_options and view_options. It works perfectly for edit_options and add_options, but it doesn't get executed at all when the view dialog is opened.

I even reduced the function just to an alert(), which again worked perfectly on the add and edit dialogs, but didn't fire on the view dialog.

Any ideas?

Thanks

1 Answers
Abu Ghufran answered 10 years ago

In core jqgrid js lib, view dialog does not have afterShowForm event.
You can use beforeShowForm if it meet your needs.

Your Answer

18 + 4 =

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?