Forum

July 12th, 2025
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
3.6.2 - Row datas don't fit to column width
27/01/2010
12:30
Avatar
JiheL
France
Member
Members
Forum Posts: 19
Member Since:
02/12/2009
sp_UserOfflineSmall Offline

Hi all

As I have updated to JqGrid 3.6.2, I think where is a bug in row data fitting to column width. (I hope I'm wrong !)

As I have tried, when height is not specified, all datas fit to column width (with or not grid width specified)

When height is specified with a number which is smaller than necessary for displaying all rows, row datas fit to colunm with.

But when height is auto, or 100%, or with a number greater than necessary for displaying all rows, row datas don't fit to column width.

And when I launch any action (sort, refresh...) row datas fit to column width.

That did'nt exist in 3.6.1.

Here is my code : (be quiet about url, it's for Jelix framework and it runs fine...)

    jQuery("#list").jqGrid({
      url:{/literal}{urljsstring 'ach~default:json_clt', array(), array()}{literal},
      datatype: "json",
      colNames:['A','B','C'],
      colModel:[  {name:'a',index:'a', width:100, align:"left"},
                  {name:'b',index:'b', width:100, align:"center"},
                  {name:'c',index:'c', width:100, align:"right"} ],
      rowNum:20,
      pager: '#pager',
      hidegrid:false,
      autowidth:false,
      forceFit: false,
      loadtext: "Chargement en cours...",
      loadui:'block',
      mtype: 'POST',
      height: 498,
      width:942,
      sortname: 'a',
      sortorder: "asc", 
      viewrecords: true,
      sortable:false,
      altRows:true,
      caption:"Liste des CLIENTS"
    });
    jQuery("#list").jqGrid('navGrid','#pager',{edit:false,add:false,del:false,search:true});

I hope you understand well that I mean, my english is poor !

Many thanks for your kind help.

Cheers

Jihel

27/01/2010
15:49
Avatar
time.com
Member
Members
Forum Posts: 3
Member Since:
27/01/2010
sp_UserOfflineSmall Offline

I came across this problem.

After tests, I found that if the data rows are not adequate to fill the whole table, then the head columns will mismatch with data columns.

But this will never happen if you change your explorer to Firefox.

27/01/2010
16:08
Avatar
JiheL
France
Member
Members
Forum Posts: 19
Member Since:
02/12/2009
sp_UserOfflineSmall Offline

Many thanks time.com for your reply

As I am developping software for SaaS mode, I hope there is a workaround for this trouble because I cannot expect that my future customers will use only Firefox.

Thanks again for your help

Cheers

JiheL

28/01/2010
17:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

For me especially is little dificult to understand your problem. Could you please provide a link to the problem?

Thanks

Best 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: 994

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