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
New Frozen Columns (working but question on performance)
13/12/2011
00:51
Avatar
thor1982
Member
Members
Forum Posts: 7
Member Since:
04/11/2011
sp_UserOfflineSmall Offline

Just a note for anyone... I had issues getting my frozen columns to work because I had to call a reloadGrid afterwords... so in order for mine to work i did.

mygrid.jqGrid('setFrozenColumns');

mygrid.trigger("reloadGrid");

My question is does calling a reload on the initial page load have a big performace drop? if so how can i clean this up... I would hate to thing its loading the whole grid then has to load it again.

Thanks a lot!

As for JQGrid and Tony Thank you so much for adding this feature I was not one of the many people requesting it but its very very useful so thank you so much for taking care of this I am sure it was not a easy task.

13/12/2011
09:22
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for reporting.

I'm not sure why do you reload the grid after calling the frozen columns. You can see in the demo how to use it:

http://trirand.com/blog/jqgrid.....qgrid.html

You do not need to reload the grid.

As usual a example of the problem is highly  appreciated, otherwise I can not help.

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

13/12/2011
10:18
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

Look at the new demo in Chrome. You will see that the columns are not frozen. Instead of than even the 'rn' column with the row numbers will be scrolled. I don't analysed the code of frozen columns so can not yet suggest the corresponding bug fix.

Best regards
Oleg

13/12/2011
10:27
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello Oleg,

In my Chrome on Linux this work perfect. Should I think that you use Chrome in Windows?

Regards

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.

13/12/2011
10:38
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Yes of course. I use Google Chrome 15.0.874.121 under Windows 7 64-bit.

Regards
Oleg 

13/12/2011
10:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Oleg,

Just tested on my XP - (virtual machine) and it is ok for me. The version is the same.

Could you please clear your cache and reload.

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.

13/12/2011
10:45
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I see maybe where is the problem.

The banners stop to work in Chrome and this maybe causes the problem.

Oleg could you please prepare a separate demo and test.

Thanks.

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.

13/12/2011
10:50
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

the both new features: frozen columns and inlane navigator begin working if the browser cache will be deleted. Probably one should force the reload the data from the wed server?

Best regards
Oleg 

13/12/2011
10:54
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Oleg,

Glad that we found the problem.

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.

13/12/2011
11:00
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

After you restarted the web server I could see on another computer that jqGrid was automatically refreshed from the version 4.2 to 4.3 without clearing the browser cache. So the problem is solved. I think, that nobody will have the problem more.

Best regards
Oleg 

14/12/2011
18:53
Avatar
thor1982
Member
Members
Forum Posts: 7
Member Since:
04/11/2011
sp_UserOfflineSmall Offline

Glad you guys fixed your problem. Sorry mine was working fine in chrome. However I have an update on my situation.

If I place the freeze method inside the gridComplete event it works fine without refreshing. So this solves my problem. I do not know why adding it the exact same way as is in your example requires a refresh however I tried on 3 different grids I am using and they all acted the same way.

So now I have:

gridComplete: function() {

mygrid.jqGrid('setFrozenColumns');

}

And it works perfectly. I am guessing this solves all my performance issues (do you see anything wrong with doing it this way?)

Again thank you so much for this product and the new column freezing feature!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 215

Currently Online:
47 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, swathi

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information