Forum
16:33
20/11/2010
Hi,
if one sets the parameter rowNum to -1 in order to display all rows, the clientside sorting is not working correctly anymore.
Initially all rows are displayed. If a column is sorted, the last element of the new order is not displayed, therefore the last line disappears.
If one sets the parameter rowNum to -2 (-3, -4), the last two (three, four) rows are not displayed after sorting the table.
Best regards.
22:25
10/08/2009
Hi Lo!
Why you use negative value for rowNum? If you want that all rows will be displayed at one you should use a large positive number instead. It mus be not the maximum positive value. The value 10000 or 100000 is more as enough.
Nevertheless I agree, that the reaction of jqGid on the negative numbers which you described is curios, but jqGrid not make verification of the input properties.
Best regards
Oleg
12:12
20/11/2010
Hi Oleg,
Thank you for your response. I used -1 because it was stated in the documentation that one should use -1 to display all rows. However, now this phrase is crossed out: /jqgridwiki/doku.php?id=wiki:options. I wonder if this setting was deleted without replacement?
Setting the value to such a ridiculous high number is exactly the work around that I used.
Best regards
lo
20:28
Moderators
30/10/2007
Hello,
Yes, there is replacment.
Please look at rowTotal parameter in grid options:
/jqgridwiki/doku.php?id=wiki:options&s[]=prmnames
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.
19:02
19/01/2011
tony said:
Hello,
Yes, there is replacment.
Please look at rowTotal parameter in grid options:
/jqgridwiki/doku.php?id=wiki:options&s[]=prmnames
Kind Regards
Tony
I have the same problem and rowTotal doesn't seem to have anything to do with the mentioned problem. I tried to set it to -1 or 10000 but nothing happened, I just saw the additional parameter in the ajax call that recovers my grid data.
If we can't use rowNum: -1 anymore what should we do to remove the paging without having the sorting problem that hides the last row on sorting?
14:56
Moderators
30/10/2007
Hello,
It all depends what you do server side. Please chack if you accept the rowTotal parameter and do the needed changes.
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:
37 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66