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
This topic is locked No permission to create posts
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
True Scrolling Rows Bug - Last page does not display
22/04/2010
03:44
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

I will use the True scrolling Rows demo to discuss my problem:

/blog/jqgrid/jqgrid.html

After the grid has loaded and you use the scroll bar to scroll all the way down to the last page, the page displays correctly with records 12,201 - 12,269 of 12269.  Now scroll up a couple pages and then scroll down to the end - the last page.  No matter how much you scroll and whether it's with the mouse wheel or by dragging the scroll bar all the way down, the last set fails to load.  It doesn't go past records 12,000 - 12,200 of 12,269.

The same exact behavior occurs with my grid.

Thanks in advance for looking into this.

Oscar

23/04/2010
11:44
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. This bug (I hope) is fixed in GitHub.

http://github.com/tonytomov/jq.....edaabc4ee8

Could you please test it?

Thank you

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/2010
01:06
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

So i tried the patch but it didn't fix it.  kinda made it worse.  This is what i experienced with the patch. 

  • When scrolling to the end, if one keeps scrolling the grid tries to load additional data but there is none.
  • When scrolling to the end, if one scrolls up a couple sets then the later pages appear as you scroll up.
  • On a small set of 35, and you scroll down to the end it reloads the 35 so that there are two sets.  At the end of the second set, it correctly stops the scrolling.
29/04/2010
11:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Will be glad to see a link to the problem. In our test system the fix work well.

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.

29/04/2010
11:39
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

You don't consider this link your test system right?  Cause the bug still happens here:

/blog/jqgrid/jqgrid.html

29/04/2010
11:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

You have a problem with a grid when I try to resize it, since you have set a custom borders and padding. Also I recommend you to see

cellLayout options into the grid. Also You will have other problems if you not set this option accordantly. The problem with the scroll is caused due to the same reason. Insted I recommend you to apply the pach from github.

How do yo set the diffrent padding of the grid?

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.

29/04/2010
12:05
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

I'll have to ask my css guy how he's doing it.  For one, the grid should be resizeable. Here's how I setup my grid in the php file

$grid->setGridOptions(
    array(
        "shrinkToFit"=>false,
        "rownumbers"=>true,
        "gridview"=>true,
        "sortable"=>true,
        "scroll"=>1,
        "toolbar"=>true,
        "rowNum"=>100,
        "sortname"=>"fund_display_name",
        "sortorder"=>"asc",
        "height"=>400,
        "width"=>900,
        "mtype"=>"POST",
        "hoverrows"=>true,
        "multiselect"=>true,
        "autowidth"=>true,
        "viewsortcols"=>array(true, 'vertical', true)
    )
);

// Enable navigator
$grid->navigator = true;

$grid->setNavOptions(
    'navigator', array(
        "cloneToTop"=>true,
        "excel"=>false,
        "search"=>false,
        "refresh"=>false,
        "add"=>false,
        "edit"=>false,
        "del"=>false
    )
);

// Set initial column properties
$grid->setColProperty("symbol", array("width"=>50,"align"=>"left","label"=>"TKR","formatter"=>"showlink","formatoptions"=>array("baseLinkUrl"=>"etf-resume.php","idName"=>"quote")));
$grid->setColProperty("fund_name_simple", array("width"=>525,"align"=>"left","label"=>"FUND"));
$grid->setColProperty("fund_name_expanded", array("width"=>400,"align"=>"left","label"=>"FUND","hidden"=>true));
$grid->setColProperty("fund_type_md_master", array("width"=>180,"align"=>"left","label"=>"TYPE","hidden"=>true,"editrules"=>array("edithidden"=>true)));
$grid->setColProperty("fund_start_date", array("width"=>80,"align"=>"left","label"=>"START","hidden"=>true,"editrules"=>array("edithidden"=>true),"formatter"=>"date","formatoptions"=>array("srcformat"=>"Y-m-d","newformat"=>"m/d/y","defaultValue"=>"-"), "sorttype"=>"date"));
$grid->setColProperty("sponsor_name", array("width"=>80,"align"=>"left","label"=>"PROVIDER","hidden"=>true,"editrules"=>array("edithidden"=>true)));
$grid->setColProperty("exchange_qm", array("width"=>50,"align"=>"left","label"=>"EXCH","hidden"=>true,"editrules"=>array("edithidden"=>true)));

$custom = <<<CUSTOM
$("#grid").setLabel ('symbol','TKR',{'font-weight': 'normal','text-align':'left'},{'title':'Ticker symbol of the ETF'});
$("#grid").setLabel ('fund_display_name','FUND',{'font-weight': 'normal','text-align':'left'},{'title':'Short name normally includes fund provider and investment target'});
$("#grid").setLabel ('fund_type_md_master','TYPE',{'font-weight': 'normal','text-align':'left'},{'title':'Fund’s investment type'});
$("#grid").setLabel ('fund_start_date','START',{'font-weight': 'normal','text-align':'left'},{'title':'The date the fund was created'});
$("#grid").setLabel ('sponsor_name','PROVIDER',{'font-weight': 'normal','text-align':'left'},{'title':'Provider of the ETF manages the fund’s investments'});

So you're saying it's mostly how the padding is applied to the grid.  Can you be a little more precise?  I will reapply the patch and adjust the padding once I understand what you mean by "setting different padding to grid".  Thanks for your help.

02/05/2010
13:57
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Instead that this does not matter, but you are using the jqGrid PHP component.

Also try to resize the a coulnm. You will see that the resize mark is about 6px left.

Since you are back to the original version I can not investigate the problem.

Try to put the fixed version, but do not minify the code.

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/05/2010
09:47
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

Ok, it's back to the fixed version from git.

http://205.186.132.31/etf-analyzer.php

What do you mean by "do not minify the code"?

04/05/2010
11:11
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

It seems like it works, or I can not reproduce the bug. For me this work.

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/05/2010
11:40
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

I have no idea what you did but it works indeed.  I had just tested it before replying earlier.  I must have not cleared my cache for the patch to work.  Thanks

Any pointers on how to make it load the data faster?  I know there is a lot of customization with background celll colors and other but just wondering what you recommend to make this faster.

Thanks again.

28/05/2010
02:52
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

Tony, I have another problem with the grid - similar to the last one.  I'm thinking it has to do with the scrolltimeout again but not sure.  In small sets of between 20-35 if i scroll down to the end, the grid tries to pull more but only duplicates the set so you end up with two sets, sometimes three when closer to 20.

See debug grid

http://205.186.132.31/etf-anal....._debug.php

Any ideas?

28/05/2010
09:50
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

We have fixed this in the gitHub - 3.7 version.

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.

28/05/2010
10:17
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

Applied 3.7 and it looks like it fixed the problem with the small records but now when i go back to the larger data set about 860, it goes back to it's old ways when scrolling all the way down causes undesired results.  See http://205.186.132.31/etf-analyzer.php

02/06/2010
09:43
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

Any update on this?  Like I said, after the 3.7 update, scrolling to the end on the larger record set causes problems.  The last set of records fails to display.  See this link:

http://205.186.132.31/etf-anal....._debug.php

02/06/2010
20:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. I see this and can reproduce it. We need to investigate the problem deeper and fix it.

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.

02/06/2010
20:03
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

Thanks for looking into this.  You have been great help and this plugin is a piece of ART!

04/06/2010
17:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I have done some fix on this in GitHub. You can check it.

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/06/2010
19:39
Avatar
ozzierod
Southern California
Member
Members
Forum Posts: 12
Member Since:
22/04/2010
sp_UserOfflineSmall Offline

I just want to make sure that this is the updated fix:

http://github.com/tonytomov/jq.....id.base.js

If so, it didn't work.  This is what happends:  Scroll all the way down and it fixed the last set. but as i scroll up, the records sets start repeating.  It is noticable more towards the top.

Also, smaller records sets of about 35 still repeat when you scroll down.

http://205.186.132.31/etf-anal....._debug.php

Click on "All Providers" dropdown on the right, select the first item and you will get 34 records.  Scroll down and you will see that the repeat.

05/06/2010
13:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I can not reproduce your las case. Selecting the first item give me 34 records and when scrolling nothing happen.

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.

This topic is locked No permission to create posts
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