save / cancel row / editing button in inlineadd option

Questionssave / cancel row / editing button in inlineadd option
Massimo Gagliardi asked 11 years ago

In the inlineadd option the buttons "save the row" and "cancel row editing" can't translate in italian Language.
How you can do?
Thanks in advance

4 Answers
Abu Ghufran answered 11 years ago

You can edit lib/inc/jqgrid_dist.php

Search for following strings and replace with italian version.

'Save this row'
'Restore this row'
'>Save<'
'>Cancel<'

Massimo Gagliardi answered 11 years ago

I use phpgrid in a multilanguage application .
I should like use a localization rather than a pure translation.
Isn't possible?
Thanks

Abu Ghufran answered 11 years ago

Translation of inlineadd button tooltip is missing in JQgrid library, and it's not added by author till v4.6

If you wish to disable such tooltips, you can set:

$opt["loadComplete"] = "function(){ jQuery('td[id^=list2_il]').attr('title',''); }";
$grid->set_options($opt);

Massimo Gagliardi answered 11 years ago

Thank you.
I reported on this bug to the Jqgrid developers team, with opening a ticket in her support center.

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?