Forum


02:57

06/02/2009

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
02:30

Moderators
30/10/2007

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.
04:18

06/02/2009

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
06:21

Moderators
30/10/2007

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.
06:33

19/03/2009

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)
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66