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
Grid scrollbar is not available on iPhone
25/01/2010
11:59
Avatar
artk
New Member
Members
Forum Posts: 2
Member Since:
25/01/2010
sp_UserOfflineSmall Offline

Hello,

I downloaded jqGrid yesterday and tried it out. It's very nicely done. But I discovered that the grid's scrollbar does not appear on an iPhone. I thought the missing scrollbar was perhaps due to my misuse of the tableToGrid method, but the problem also appeared in a sample jqGrid program I found and copied to help me learn. It's available at http://cloudtabularium.appspot.....qgrid.html.

Has anyone encountered this problem when viewing the jqGrid object on an iPhone?

Thanks!

Art

26/01/2010
16:57
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

In the link provided here I see a vertical scrollbar.

Best Regrds

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.

31/01/2010
13:45
Avatar
artk
New Member
Members
Forum Posts: 2
Member Since:
25/01/2010
sp_UserOfflineSmall Offline

tony said:

Hello,

In the link provided here I see a vertical scrollbar.

Best Regrds

Tony


Thanks Tony. I couldn't see the bar in the scrollbar when viewed from the iPhone and assumed that the vertical scrollbar had a problem. Also, it's very difficult to move the scrollbar up and down in the iPhone. Did you get a chance to scroll through the example?

Regards,

Art

01/02/2010
08:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I tested it with diffrent browsers and the scrollbar is stil here.

Sorry, I do not have iPhone to see what is actually happen.

Best Regards

Tony

P.S. Not sure, but could you please set some CSS properties to body

like margin, padding, height width.

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.

06/05/2010
17:22
Avatar
shaded2
Member
Members
Forum Posts: 5
Member Since:
15/04/2010
sp_UserOfflineSmall Offline

I can confim this bug. I tried it on an iphone and a couple android devices. I dont know about the iphone emulator but the android one is free. Since both the android and iphone browsers use the same engine, the page should render the same on both. 

here is the link to the android emulator

http://developer.android.com/g.....lator.html

06/05/2010
22:09
Avatar
talisto
Member
Members
Forum Posts: 6
Member Since:
30/04/2010
sp_UserOfflineSmall Offline

This isn't a bug in jqgrid, it's a limitation of the iphone's browser.  The iphone browser has no concept of scrollbars on any elements.

Try this test page I just made: http://mirrorbox.org/scrolltest.html

There's two simple elements on that page, one is a div tag set to overflow:scroll (with enough content to overflow the div), as well as an iframe (set to load google's index page).  Both elements will show scrollbars in every non-mobile browser, but the iphone's browser doesn't show scrollbars on either of them.  Since jqgrid relies on scrollable divs for the grid's scrollbars, the iphone's browser simply won't show them for jqgrid's elements either.

I suppose Apple figures it is too confusing to have pinch/zoom/scroll functionality for the main page as well as scrollable elements.  If you don't like it, complain to Apple. 🙂

10/05/2010
23:22
Avatar
shaded2
Member
Members
Forum Posts: 5
Member Since:
15/04/2010
sp_UserOfflineSmall Offline

Yup, you're absolutely right. 

Is there an autoheight function in jqgrid that would automatically set the height based on the number of rows the end user selects. That way if the height is always full, then scrolling will not be necessary. 

11/05/2010
06:32
Avatar
talisto
Member
Members
Forum Posts: 6
Member Since:
30/04/2010
sp_UserOfflineSmall Offline

shaded2 said:

Is there an autoheight function in jqgrid that would automatically set the height based on the number of rows the end user selects. That way if the height is always full, then scrolling will not be necessary. 


try height: 'auto'.  More info here: http://www.trirand.com/jqgridw.....ki:options

12/05/2010
19:01
Avatar
shaded2
Member
Members
Forum Posts: 5
Member Since:
15/04/2010
sp_UserOfflineSmall Offline

wonderful

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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