Display delete message

QuestionsDisplay delete message
Abdul asked 9 years ago

1. How do i set a message for any action in the grid. for example, I have a delete button in the grid when clicking the delete button i want to show a confirmation message "Do you want to delete"

2 Answers
derekb answered 9 years ago

$grid["delete_options"] = array('width'=>'250','height'=>'250');
$grid["delete_options"] = array('caption'=>'My Caption','msg'=>'Do Stuff ?','bSubmit'=>'Yes','bCancel'=>'Cancel');

Abu Ghufran answered 9 years ago

By default it shows a delete message 'Deleted selected record(s)?'
If you want to change this message, you can edit lib/js/jqgrid/js/i18n/grid.locale-en.js and change this text.

Your Answer

14 + 14 =

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?