Forum
Topic RSS
14:17
24/01/2009
OfflineHi,
I'm having issues with align in my table, the columns headers and the columns are not aligned. I'm not using colNames, every column get it's label from colModel:
the options I'm using are
rowNum: customrows,
hidegrid: false,
pgtext: ' of ',
sortname: 'i_name',
sortorder: “asc”,
altRows: false,
loadui: false,
viewrecords: true,
I've tried shrinkToFit and forceFit without success. Does anyone haves any suggestion?
Thanks
Rodolfo.
02:50
28/10/2008
OfflineTo give more Information about my Grid:
[Code]
jQuery("#loadgridtest").jqGrid({
url:'Service1.svc/timeentries/',
datatype: 'json',
mtype: 'GET',
colNames:['Id','Projektid','Projekt','Projekttätigkeit','Datum','Von','Ende-Datum','Bis','Pause','Dauer','Beschreibung','Berechenbar','Dirty','Actions','RealTime'],
colModel :[
{name: 'id', jsonmap:'id',index:'id',editable:true,sortable:false,width:200},
{name: 'projectid',jsonmap:'projectid',editable:true,sortable:false,width:200},
{name:'project', jsonmap:'project',index:'project',sortable: false,editable: true,edittype:"select",editoptions: projects, editrules: {required: true},width:200},
{name:'activity', jsonmap:'activity',index:'activity',sortable: false,editable: true,edittype:"select",editoptions: activities,editrules: {required: true},width:200},
{name:'startdate' , jsonmap:'stratdate', index:'startdate', sorttype: "date",editable: true,sortable: true,editrules: {required: true},width:200},
{name:'starttime', jsonmap:'starttime',index:'starttime',editable: true,sortable: false,editrules: {required: true},width:200},
{name:'enddate', jsonmap:'enddate',index:'enddate',sorttype: "date",editable: false, editrules: {required: true},width:200},
{name:'endtime', jsonmap:'endtime',index:'endtime',editable: true,sortable: false, editrules: {required: true},width:200},
{name:'breaktime', jsonmap:'breaktime',index:'breaktime', editable: true,sortable: false,editrules: {required: true},width:200},
{name:'duration', jsonmap:'duration',index:'duration',sortable: false,editrules: {required: true},width:200},
{name:'descr', jsonmap: 'descr', index:'descr', width: 250, editable: true, editrules: {required: true}, edittype: "textarea",width:200},
{name:'calc', jsonmap: 'calc', index:'calc', editable: true, edittype:"checkbox", editoptions: {value:"True:False"}, editrules: {required: true},width:200},
{name:'dirty', jsonmap:'dirty', index: 'dirty', editable:true,width:200},
{name:'actions',jsonmap:'actions', index:'actions',sortable:false,width:200},
{name:'realtime', jsonmap:'realtime', index: 'realtime', editable:true ,sortable:false, editrules: {required: true},width:200},
],
imgpath:'Scripts/Grid/themes/basic/images',
cellEdit: true,
cellsubmit: 'clientArray'
});
[/Code]
The Problem appears in IE7 & FF3.
04:35
28/10/2008
OfflineI changed the Grid and the Error stilll occurs 🙁
MY Grid now looks like:
function loadGrid(){
var kwjahr = jQuery("#kw").get()[0].value;
jQuery("#loadgridtest").jqGrid({
url:'Service1.svc/timeentries/'+kwjahr,
datatype: 'json',
mtype: 'GET',
colNames:['Id','Projektid','Projekt','Projekttätigkeit','Datum','Von','Ende-Datum','Bis','Pause','Dauer','Beschreibung','Berechenbar','Dirty','Actions','RealTime'],
colModel :[
{name:'id', jsonmap:'id',index:'id',width: 300},
{name:'projectid',jsonmap:'projectid',width:300},
{name:'project', jsonmap:'project',index:'project'},
{name:'activity', jsonmap:'activity',index:'activity'},
{name:'startdate' , jsonmap:'stratdate', index:'startdate'},
{name:'starttime', jsonmap:'starttime',index:'starttime'},
{name:'enddate', jsonmap:'enddate',index:'enddate'},
{name:'endtime', jsonmap:'endtime',index:'endtime'},
{name:'breaktime', jsonmap:'breaktime',index:'breaktime'},
{name:'duration', jsonmap:'duration',index:'duration'},
{name:'descr', jsonmap: 'descr', index:'descr'},
{name:'calc', jsonmap: 'calc', index:'calc'},
{name:'dirty', jsonmap:'dirty', index: 'dirty'},
{name:'actions',jsonmap:'actions', index:'actions'},
{name:'realtime', jsonmap:'realtime', index: 'realtime'},
],
imgpath:'Scripts/jqGrid-3.4.1/themes/basic/images',
cellsubmit: 'clientArray'
});
The Data of the Json - Packet looks like:
{"page":1,"total":1,"rows":[{"id":"2ce898b4-78fe-dd11-bbe6-0018f351a670","cell":["2ce898b4-78fe-dd11-bbe6-0018f351a670"
,"e18c3ac2-55f7-dd11-bff3-0018f351a670","ksection","test","19.02.2009","02:00","19.02.2009","11:00","0"
,"9:0","tetst aa","False","","","540"]}]}
What can I do ? Thx for any Tip 😉
08:21
Moderators
30/10/2007
OfflineHello,
Just for test - could you please set explicit on every column the property width?
Thanks.
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.
03:23
28/10/2008
OfflineI did some resaerch and it looks like that the problem is that the columnrow is larger than the header row. I guess that this will be the Error ….
-----------------------------------
sorry my fault -> the Columnrow is nto too long, the Problem is suddenly
that one header is cutt off.
hmm I think I have to downgrade 🙁
cheers,
Uter
09:11
Moderators
30/10/2007
OfflineHello,
Try with the old CSS using the new version. Also which theme do you use?
If switch to old css do not forget to make the changes as of the docs for ver 3.4.1
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.
07:37
Moderators
30/10/2007
OfflineHello,
Thanks. Fixed in 3.4.2
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.
10:52
Moderators
30/10/2007
OfflineHello,
What is exacly the problem? Try only with jqGrid files and css without including other. Then try to include one by one the other css and see what is happen. IMHO there is conflict with jqGrid css and others.
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.
18:10
27/09/2008
Offline3.4.2. fixed the alignment issue on grids that have NO hidden columns in them. Grids that HAVE a hidden column in them seem to have a column splitter alignment issue that causes the header row and the detail row columns to be out of alignment. See in this pic#1 where the misalignment begins under "involved parties" and increases going from left to right? This happens in all browsers(and platforms) except for Safari(ok on win and mac). 2nd pic shows proper alignment in Safari. Thank you for your help...
PIC#1
PIC#2
Most Users Ever Online: 994
Currently Online:
29 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


