How to change navigation button text for PDF? CSV? $.jgrid.nav.???

QuestionsHow to change navigation button text for PDF? CSV? $.jgrid.nav.???
Chuck Eglinton asked 8 years ago

The commands below work to add/change text for the related navigatin bar buttons

$.jgrid.nav.addtext = "Add";
$.jgrid.nav.edittext = "Edit";
$.jgrid.nav.deltext = "Delete";
$.jgrid.nav.searchtext = "Search";
$.jgrid.nav.refreshtext = "Refresh";
$.jgrid.nav.viewtext = "View";

But how do I change navigation button text for the PDF and CSV buttons?

These don't work:
$.jgrid.nav.export_pdf = "REPORT 1";
$.jgrid.nav.pdf = "REPORT 2";

2 Answers
Abu Ghufran answered 8 years ago

Currently, these constants are not configurable.

You can edit lib/inc/jqgrid_dist.php file and change:

caption:"Excel",title:"Excel",
caption:"PDF",title:"PDF",
caption:"CSV",title:"CSV",

Chuck Eglinton answered 8 years ago

It worked!

Thanks Abu.

Your Answer

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