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
Display horizontal scrollbar even without data
18/05/2011
16:12
Avatar
Whistler
New Member
Members
Forum Posts: 2
Member Since:
18/05/2011
sp_UserOfflineSmall Offline

Hi there,

we are using jqgrid and love this great solution. Thanks so far. 🙂

One question:

Is it possible to show the horizontal scrollbar even when no data is displayed?

Let me just explain my problem: Our users can define how many columns they wish to see. Typically the users display enough columns to show the horizontal scrollbar. Let's say the last column is defined as "Name". We use the filter toolbar to perform fast filtering. Let's say someone filters the column "Name" with some string which results in no data. The horizontal scrollbar isn't there to jump to the filter field and reset the search. We only see the columns to fit on the screen.

Is there any way to make the scrollbar visible all time or to solve my described problem?

Greetings from Germany,

Whistler

14/08/2012
09:33
Avatar
Hirododo
New Member
Members
Forum Posts: 1
Member Since:
14/08/2012
sp_UserOfflineSmall Offline

Hi,

Have anyone found a solution for this ?

I've the same problem on my jqGrid : my grid has few columns and the horizontal scrollbar is displayed when there's data to display. But when I set a filter and no data matches (the grid is empty), the horizontal scrollbar disappears, making it impossible for the user to empty the filter (when the filter is the last on the right of the grid) : because without the scrollbar, he can't see the filter anymore!

If someone has found a solution or a workaround, please let me know.

Thanks in advance,

Hiro.

Free your mind.

13/11/2014
11:18
Avatar
EfrenChiu
New Member
Members
Forum Posts: 1
Member Since:
13/11/2014
sp_UserOfflineSmall Offline

Hi,

Just add the css as below to the ui.jqgrid.css.

table.ui-jqgrid-btable { height: 1px; }

and the scrollbar will always showing!!

19/11/2014
16:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

 

Thank you for sharing.

 

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.

19/11/2014
17:24
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

I wanted just add that

table.ui-jqgrid-btable { min-height: 1px; }

seems be better as

table.ui-jqgrid-btable { height: 1px; }

Best regards
Oleg

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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