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
Wrong Grid Width under Safari
25/09/2012
15:53
Avatar
alex_2
Member
Members
Forum Posts: 9
Member Since:
21/09/2012
sp_UserOfflineSmall Offline

Hi Toni,

using jqGrid  4.4.1 renders my list with a smaller width (974px) (1059px in (latest) firefox and (latest) chrome)

there are several discussions about this issue regarding older versions of jqGrid, so I'm not sure if this is a new problem or still not solved.  

27/09/2012
15:07
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I'm not sure that I  understand the problem exactley?

Could you please be a more specific.

Thank you.

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.

27/09/2012
16:06
Avatar
alex_2
Member
Members
Forum Posts: 9
Member Since:
21/09/2012
sp_UserOfflineSmall Offline

Hi Tony,

my gridlist (see the following simplified example) is rendered with a different width: correct width under safari, wrong under chrome and firefox

for example

{ name:'lastname'  , width: 140, align: 'left', classes: 'dragHandle'}, //, fixed: true},

is rendered with a width of 140 pixels in safari but with 145 pixels in chrome and firefox...

here is my (simplified) grid config:

$("#grid").jqGrid({

 ...

     colModel:[

        { name:'lastname'           , width: 140, align: 'left', classes: 'dragHandle'}, //, fixed: true},

        { name:'firstname'          , width: 90,  align: 'left', classes: 'dragHandle'},

        { name:'gender'             , width: 17},

        { name:'customAge'          , width: 20, sortable: false},

        { name:'maintype'           , width: 17, formatter: koGrid.maintypeFormater},

        { name:'modus'              , width: 20, formatter: koGrid.modusFormater},

    ],

    height: "100%",

  }); // jqGrid END

    $("#grid").jqGrid('setGroupHeaders', {

    useColSpanStyle: false,

    groupHeaders:[

      {startColumnName: 'lastname', numberOfColumns: 2, titleText: ''},

      {startColumnName: 'gender', numberOfColumns: 4, titleText: 'Info'},

    ]

 });

thx for your answer

kind regards

Alex

27/09/2012
16:14
Avatar
alex_2
Member
Members
Forum Posts: 9
Member Since:
21/09/2012
sp_UserOfflineSmall Offline

update:

browser versions:

safari (tested under windows and osx) 5.1.1

firefox: (windows) 15.1

chrome: (windows)  21.0.1180.89 m

27/09/2012
16:38
Avatar
alex_2
Member
Members
Forum Posts: 9
Member Since:
21/09/2012
sp_UserOfflineSmall Offline

update 2:

Hi Tony,

don't know it it helps but when i remove the

 {table-layout:fixed; ... }

lines from the original ui.jqgrid.css then also safari renders 145 pixels width but the column aligning between header, grid and footer tables is no longer working...

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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