Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Caption for Edit icon on Pager
29/06/2009
14:18
Avatar
jmcleod3
Member
Members
Forum Posts: 33
Member Since:
04/05/2009
sp_UserOfflineSmall Offline

Hello Tony and all,

Is there a way of adding a text caption next to the Edit icons on the navGrid?

I'm not adding a new navButton but I'm just trying to add text to the existing icon buttons.

Maybe similar to this...

.navGrid('#loiPager', {edit:true, add:false, del:false, search:false},{editCaption: 'Edit',height:400, width:400, reloadAfterSubmit:true })

Thank you.

John

It's not who I am underneath, but what I do that defines me.

02/07/2009
02:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Additionally in the navigator options you can set these (just look in the language file - the item nav.

        edittext: "",
        edittitle: "Edit selected row",
        addtext:"",
        addtitle: "Add new row",
        deltext: "",
        deltitle: "Delete selected row",
        searchtext: "",
        searchtitle: "Find records",
        refreshtext: "",
        refreshtitle: "Reload Grid",
        alertcap: "Warning",
        alerttext: "Please, select row",
        viewtext: "",
        viewtitle: "View selected row"

Hope this helps.

Note that this in the navigator options, where edit:true,add:true ... are set

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

02/07/2009
07:48
Avatar
jmcleod3
Member
Members
Forum Posts: 33
Member Since:
04/05/2009
sp_UserOfflineSmall Offline

Tony,

Thanks for all your help.

The addition of "edittext" to my grid solved the issue.

My users need me to hold their hand.

Thanks again.

John

It's not who I am underneath, but what I do that defines me.

13/08/2010
20:30
Avatar
bgillis
USA
Member
Members
Forum Posts: 12
Member Since:
13/08/2010
sp_UserOfflineSmall Offline

We find many of the parameters on /jqgridwiki/doku.php?id=wiki:navigator&s[]=navgrid do not work.

Some examples:

1. addtitle and edittitle  - never change mouseover on pager icons (they are always the language defaults.  We don't/can't change the language defaults, it MUST be per-grid overrides).

2. edittext, addtext - never changes text-with-icon (there is never any text with icons.  We don't need this, but noted it doesn't work)

We are using 3.6

Frown

13/08/2010
21:16
Avatar
bgillis
USA
Member
Members
Forum Posts: 12
Member Since:
13/08/2010
sp_UserOfflineSmall Offline

above post: resolved.

doc doesn't say the parameter needs to be in navgrid first argument.

one would think addtitle would go in addparms, no?  :-))

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
40 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information