Forum



03:44

22/04/2010

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
11:44

Moderators
30/10/2007

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

22/04/2010

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.
11:25

Moderators
30/10/2007

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.
11:39

22/04/2010

11:52

Moderators
30/10/2007

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.
12:05

22/04/2010

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
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)
)
);
$grid->navigator = true;
$grid->setNavOptions(
'navigator', array(
"cloneToTop"=>true,
"excel"=>false,
"search"=>false,
"refresh"=>false,
"add"=>false,
"edit"=>false,
"del"=>false
)
);
$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)));
$("#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.
13:57

Moderators
30/10/2007

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.
09:47

22/04/2010

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"?
11:11

Moderators
30/10/2007

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.
11:40

22/04/2010

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.
02:52

22/04/2010

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?
09:50

Moderators
30/10/2007

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.
10:17

22/04/2010

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
09:43

22/04/2010

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:
20:00

Moderators
30/10/2007

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.
20:03

22/04/2010

17:52

Moderators
30/10/2007

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.
19:39

22/04/2010

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.
13:41

Moderators
30/10/2007

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.
Most Users Ever Online: 715
Currently Online:
47 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