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
jqGrid 3.5.alfa - Grid in a ui.tabs ?
24/03/2009
11:31
Avatar
cvneo
Member
Members
Forum Posts: 47
Member Since:
25/02/2009
sp_UserOfflineSmall Offline

Hello,

I install the new version
http://www.trirand.com/jqgrid3.....qgrid.html

Firstly great work, bravo!


I have a bug.

I install the Grid in a ui.tabs, everything works well except navGrid, the navigation is not visible, next button, previous page list …

If it displays the first tab that contains the ui.tabs Grid it works.

But if we display another tab and you click the tab that contains the grid, at the time this will not work anymore: (

I forget to mention that the appeal of the tabs grid is an ajax:
So the 3 tabs uitabs eg A, B, C
We arrive on a page and displays the tab
Then click on the tab C that call the url monGrid.php
At this time it does not work.

But if you come directly on the page and it displays the tab C It Works

It seems the concern is on firefox and safari

Thank you for your help

24/03/2009
13:36
Avatar
cvneo
Member
Members
Forum Posts: 47
Member Since:
25/02/2009
sp_UserOfflineSmall Offline
I look in the code via firbug

This seems to come from this line:
<td align=”center” id=”pager2_center” style=”white-space: nowrap; width: 12px;”>

if I change:
<td align=”center” id=”pager2_center” style=”white-space: nowrap; width: 300px;”>

The navigation buttons reappear.

So it seems the 1114 file grid.base.js
$ ( “td #” + pgid +”_”+ ts.p.pagerpos ,”#”+ pgcnt). append (PGL). width (TWD 12);

replaced by:
$ ( “td #” + pgid +”_”+ ts.p.pagerpos ,”#”+ pgcnt). append (PGL). width (TWD 300);

By against I do not know if the former has a value involvement Elsewhere … ?

25/03/2009
10:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for this post. One of the problem that I should resolve is the navigator. Commonly the navigator is divided in 3 parts - left, center right - before inserting the pager buttons I calculate the width of the elements putting then in non visible tag. It seems that this operation is not performed correct under some condition. I will check this.

Thanks again

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.

31/03/2009
12:17
Avatar
CleverHuman
New Member
Members
Forum Posts: 1
Member Since:
31/03/2009
sp_UserOfflineSmall Offline

cvneo said:

I look in the code via firbug

This seems to come from this line:
<td align=”center” id=”pager2_center” style=”white-space: nowrap; width: 12px;”>

if I change:
<td align=”center” id=”pager2_center” style=”white-space: nowrap; width: 300px;”>

The navigation buttons reappear.

So it seems the 1114 file grid.base.js
$ ( “td #” + pgid +”_”+ ts.p.pagerpos ,”#”+ pgcnt). append (PGL). width (TWD 12);

replaced by:
$ ( “td #” + pgid +”_”+ ts.p.pagerpos ,”#”+ pgcnt). append (PGL). width (TWD 300);

By against I do not know if the former has a value involvement Elsewhere … ?


I have the same issue but using a JQueryUI Dialog instead of a tab. I imagine the issue is the same, though. And, as suggested above, I am using this as a workaround:

$("#FollowerPager_center").css("width", "300px");

Also, Great job on the 3.5 alpha. It really looks great. The themeroller ready feature is fantastic.

01/04/2009
02:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks all. This is corrected in second alfa release wich will be published tomorrow.

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:
42 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