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
setCell for tool tip
19/03/2009
12:51
Avatar
Wayern
Mexico
New Member
Members
Forum Posts: 2
Member Since:
19/03/2009
sp_UserOfflineSmall Offline
Hi.
I have a problem with the image's titles. I can't see them when the mouse is over it. I was reviewing the documentation and I found that the setCell method could help us to solve this problem. What I did is this:
for (var i = 0; i < ids.length; i++) {
        var row_id = ids[i];
        img1= "<img title='View' src='../images/view.png' style='display: inline; cursor: pointer;' id='" + row_id + "' onclick='redirect()'/>";
        img2= "<img title='PDF' src='../images/adobe2.png'  id='" + row_id + "' style='display: inline; cursor: pointer;'/>";
        img3= "<img src='../images/download.png'  id='" + row_id + "' style='display: inline; cursor: pointer;' title='Download'/>"
    $("#setcols").setRowData(ids[i], {print:img1+img2+img3})
    $("#setcols").setCell("1", "print", '', {'text-align':'right'},{title:'Undefined', alt:'Undefined'});
}
Once the page is loaded I used to open Bugzilla and I can see that all the images have their own title(i.e title="PDF"), but when the mouse is over one image, his title changes to title="". The align doesn't change, I mean, images keep aligned to the right, but I don't have any idea why the titles are changed. Hope you can help me...
Best regards.
Eduardo.
21/03/2009
11:38
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Which version of jqGrid do you use? Try to use the latest one.

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.

24/03/2009
16:06
Avatar
Wayern
Mexico
New Member
Members
Forum Posts: 2
Member Since:
19/03/2009
sp_UserOfflineSmall Offline

Hey Tony! How you doing? I'm using the las version, but I have a problem... When I try to see deploy the page in the browser it sends me the following error:

jQuery("#setcols").jqGrid is not a function
[Image Can Not Be Found] pager: $('#pager')
I didn't change anything in my code, I just replace these files jquery.jqGrid.js and jquer.js and the folders js and themes. I'll appreciate your help.
Regards.

26/03/2009
03:53
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

The expression jQuery(”#setcols”).jqGrid is not a function

tell me that the jqGrid base library is not loaded.

Which browser do you use? If this is a Opera there is a bug in the loader.

Best 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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
98 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