Reputation: 27931
I tried
grid.navGrid("#grid_toppager",{},
{
bSubmit: 'Submit',
editCaption: 'Edit',
title: 'Save changes (Ctrl+S)' } );
but Save changes (Ctrl+S) tooltip does not appear if mouse is over Submit button. how to show tooltip in edit and add form submit buttons ?
Upvotes: 1
Views: 2327
Reputation: 51
If u want to add tooltip on your custom jqgrid buttons then just add title .
.navButtonAdd('#discPgr',{ title:"Add Discount" });
Upvotes: 0
Reputation: 221997
There are no title
option of navGrid method. There are only options like edittitle
or addtitle
which are not what you need.
What you need is to set title
attribute on the "Submit" button which you have to do directly inside of beforeShowForm
for example. See the demo.
Upvotes: 2