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
"Loading..." message issue
09/04/2009
02:57
Avatar
rojoba
Member
Members
Forum Posts: 15
Member Since:
06/02/2009
sp_UserOfflineSmall Offline

Hi guys

I updated my website to use JQuery 1.3.2 and jqGrid 3.4.3 as well as the latest JQuery UI. Some of my pages use the tabs plugin and I have a grid on each panel. For example, one page I'll have 4 tabs and a grid in each tab. Another page has 2 tabs with a grid in each etc. The problem i'm having after the update is that the "Loading..." message always remains on the last grid even though the gridComplete event has fired. So in the 4 tabs, the fourth grid has the "Loading..." message and likewise with the 2 tabs, the second grid always displays the "Loading..." message. It is always the last grid to be loaded that gives me this issue. I'm not yet sure how I'm gna diagnose this problem. Any ideas or pointers are welcome.

Thanks in advance,

Roger

09/04/2009
11:25
Avatar
archie
Member
Members
Forum Posts: 3
Member Since:
09/04/2009
sp_UserOfflineSmall Offline

I'm having the same issue as well with release 3.5 alfa 2. But it only happens when I put the grid inside a jqTab. I ended up disabling the "Loading.." message.

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

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

Hello,

Thanks. It is reeally strang, since the 3.5 alfa uses UI tabs for this purpose.

Little help will be if I have a link to the problem.

Thanks

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.

24/04/2009
04:18
Avatar
rojoba
Member
Members
Forum Posts: 15
Member Since:
06/02/2009
sp_UserOfflineSmall Offline

Hi guys

Didn't have a look at this in a while... kept putting it off as it wasn't that much of a show stopper. Anyway, I upgraded to the Alfa 2 release yesterday, hoping the problem would go away, but it didn't. It actually made it worse in a way because all the pages broke that used the grid inside UI Tabs. Many thanks for your work on the Alfa 2 release Tony :).  My site has benefited alot from the UI Theming addition. Okay, back to the issue... I think the core of the problem is that I was trying to build grids that were inside inactive (hidden pages) tabs. So basically the tab pages for the grids were "display:none". This made those grids have the "loading.." message still present after the data was loaded. It gave me errors when calculating the widths of those grid. The button div, nav div at the bottom had a width of zero while the view records div took the entire pager panel. Thus I had not buttons and navigation when I selected the tab. What works for me now is to only manipulate the grid associated with the active tab. So when a user changes the tab, I construct the grid once then and there.. and not all up front first as before. There is a drop down box whose value is a parameter to all 4 grids. I only set the post item and reload the grid when the particular tab has been selected. So the bottom line is I would guess, don't do grid operations when the container in which the grid lives, is hidden (display:none).

I hope I've explained my situation correctly and that it helps someone. Tony, if I did miss something... let me know pls :D.

Best regards,

Roger

25/04/2009
06:21
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello Roger,

Thanks. I found this bug before some days. It is a jqGrid bug. It is corrected and I will publish alfa 3 soon.

Thanks

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.

11/06/2009
06:33
Avatar
Marcel Karras
Member
Members
Forum Posts: 22
Member Since:
19/03/2009
sp_UserOfflineSmall Offline

Hey Tony,

thanks a lot for your work so far!

I'm using the 3.5 beta release in connection with UI/Tabs and have no problems on FF3 or Chrome. But when I switch to IE there'll always be a blue bar on every tab that hasn't been selected initially. (the loading message disappeared correctly but the message's div isn't hidden) I issued a CSS inspector inside IE and found out that the "display" property is set the "none" which is correct.

Can you or someone else reproduce this behaviour on IE 7? Maybe this is an IE rendering issue... Maybe I'd try to load the grid when the specified tab is selected instead of loading them all at once. (four grids atm)

11/06/2009
22:33
Avatar
xuding
xuding
Member
Members
Forum Posts: 36
Member Since:
15/11/2008
sp_UserOfflineSmall Offline

I encountered this issue once,

I set debug mode to 3 and run it once.
then set it back to 0 , and it became fine.

Strange bug..

luckily it is corrected

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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