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
viewsortcols and rownumber
18/07/2009
17:30
Avatar
shailesh17
New Member
Members
Forum Posts: 2
Member Since:
02/07/2009
sp_UserOfflineSmall Offline

Hi Tony,

Thanks very much for this great grid!  (BTW, you should put up a donation thing up -- all I found was paid support).

Question: with 3.5beta, I'm using tableToGrid to convert a normal table to a jqgrid (with loadonce set to true) - works fantastic, however, there seems to be very minor bug with the viewsortcols feature. I have both viewsortcols and rownumbers enabled with true. Upon original page load, the row numbers and the viewsortcols show perfect. However, as soon as I sort one of the columns, the sort up/down icon gets added to the empty header for the rownumber column. Unfortunately though, the icon is just visible, I can't sort it or anything when I click it.  

I guess since this is a loadonce table, the rownumbers actually get shuffled too due to sort on the other column - this is different on my other tables where each sort goes back to the backend, so the row numbers always reset everytime another sort occurs.

Therefore, I believe this issue is isolated to loadonce feature - can this be fixed by either a) actually making the rownumber col sortable (or provide a way to make it sortable to reset it to the as converted state from tableToGrid). or b) remove the sort icons on top of the rownumbers column. I guess an option to do either a or b would be best.  What do you think - is this an issue or some other usage error?.

Thanks,

Shailesh Smile

18/07/2009
17:50
Avatar
shailesh17
New Member
Members
Forum Posts: 2
Member Since:
02/07/2009
sp_UserOfflineSmall Offline

Update on the noted issue - apparently the issue goes away when I add sortname/sortorder attributes in the options. With these added, the sort icons don't appear anymore on the rownumber column.  Since we're doing tableToGrid, there's no guarantee that the original grid was sorted, therefore, adding these options does not help as the grid is still unsorted - I would have to invoke the sort event after conversion.

I think having tableToGrid option is great idea since it allows viewing the data even if javascript is disabled.

20/07/2009
10:32
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Some things are changed. Please read Changes.txt from build 11 or see the file in GitHub.

Thank you.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
31 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