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
Adding horizontal scroll
20/04/2010
20:13
Avatar
lysitheas
Member
Members
Forum Posts: 3
Member Since:
15/04/2010
sp_UserOfflineSmall Offline

Hi,

How can I add horizontal scroll?

26/04/2010
12:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello

See docs. Ther is a option shrinkToFit

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/07/2010
12:08
Avatar
satmovi
Member
Members
Forum Posts: 5
Member Since:
19/04/2010
sp_UserOfflineSmall Offline

Hi Tony,

can I somehow have a scroll bar at the top of the table?

13/09/2011
14:59
Avatar
shalaroras
New Member
Members
Forum Posts: 1
Member Since:
12/09/2011
sp_UserOfflineSmall Offline

Hi Tony,

I have same issue. Had tried shrinktofit=false.. but it didnt help me.

Code is

$('#' + id).jqGrid({
            url: getDataUrl(),
                sortable: true,
                datatype: "json",
                height: '100%',
                colModel :[
                {name:'Name', index:'Name',search:false,sortable:false, width:75},            
                {name:'Profile', index:'Profile',search:false,sortable:false, width:70},
                {name:'company_name', index:'company_name', width:200},
                {name:'first_name', index:'first_name', width:200},
                {name:'u.last_name', index:'u.last_name', width:200},
                {name:'entry_date', index:'entry_date', width:150},
                {name:'email', index:'email', width:200},
                {name:'phone_work', index:'phone_work', width:200},
                {name:'phone_home', index:'phone_home', width:200},
                {name:'phone_mobile', index:'phone_mobile', width:200},
                {name:'fax', index:'fax', width:200},
                {name:'source_name', index:'source_name', width:150},    
                {name:'allocated_to', index:'allocated_to', width:150}
                ],
                multiselect: true,
                rowNum: $.fn.ltjqgrid.defaults.FundListDefaultNumberOfResultsPerPage,
                rowList: getRowList(),
                pager: '#' + pagerId,
                sortname: $.fn.ltjqgrid.defaults.DefaultSorting,
                sortorder: $.fn.ltjqgrid.defaults.DefaultSortingDirection,
                recordtext: getLabel("GridRecordText","View {0} - {1} of {2}"),
                emptyrecords: getLabel("GridEmptyRecords", "No records to view"),
                loadtext: getLabel("LoadingPageLabel", "Loading..."),
                pgtext: getLabel("GridPageOf", "Page {0} of {1}"),
                shrinkToFit: false,
                altRows: true,
                autowidth: true,
                viewrecords: true,
                page: currentPage,
                viewsortcols:[true,"vertical",true],
                loadComplete: function () {
                
                    $('#' + id + '_cb').addClass("gridCheckbox");         
                  
                    $('#' + id + ' tr td:first-child').addClass("gridCheckbox");                
                }

Can u pls help!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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