Forum
Topic RSS
12:30
02/12/2009
OfflineHi 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...)
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
17:52
Moderators
30/10/2007
OfflineHello,
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.
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home