Forum
05:32
28/10/2008
Hi 😉 I am new at this forum and first of all I want to thank for this great
Plugin ! I am also new in coding with Javascript(Jquery) and my english isn't very good, so plz be patient with me *G*
I used cell editing and in firefox everything works great but when I am using Internet explorer 7 the action events of a cell is not on the right position.
I mean if i click the 3rd cell of a row the first cell will fire the event.
If I click the 4th cell the second cell will fire the event.
I am using 2 hidden fields as the first two cells in a row - could this be the Problem ?
I didn't find such a problem with the forums search so I created this post here.
Thx for every Post....
cheers, Uter 😉
11:28
Moderators
30/10/2007
Hello,
It seems that some things are not changed in IE7 too.
Could you please open grid.celledit.js and change the line
if ($.browser.msie && $.browser.version <=6 &&
ed===true && fg===true) {...
to
if ($.browser.msie && $.browser.version <=7 &&
ed===true && fg===true) { ...
Thank you
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.
12:50
28/10/2008
strange Behaviour:
I wanted to debug the cellgrid.js and so I insert some alerts to test:
//under the I HATE IE Comment --> nice 😉
if ($.browser.msie) alert ("Browser is IE") else alert ($.browser);
if ($.browser.version == 7) alert("Verision = 7") else alert ("other version");
if (ed) alert("ed = true");
if (fg) alert ("fg = true");
but nothing was alerted, also I put to the getAbsoluteIndex Function an alert and this was also not executed. I got no Error in the Firebug so I am little bit confused now 😉 I will test this again 😉
03:37
Moderators
30/10/2007
Hello,
See the post from Uter.
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.
Hello,
I read the post, I try the solution but it's not enought.
We don't use cellEdit. Only onCellSelect.
I have a look at grid.base.js
Perhaps around line 1320
if ( !ts.p.multikey ) {
$(ts).setSelection(false,ptr);
if(onSC) {
ri = ptr[0].id;
ci = td.cellIndex;
onSC(ri,ci,$(td).html());
}
How is calculte the td.cellIndex ?
Thanks
Gerard
10:28
Moderators
30/10/2007
Hello,
cellIndex is property and it is not calculated.
What actually is the problem?
Please be a more specific. This event does not have to with a cell edit
module
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.
I know the problem not have to with a cell edit, but it seem's very similar.
In the page, there is a data grid defined as this
$('#gridPlanning').jqGrid({
url: 'index.php?dzAction=1798&dateDeb=27/11/2008&dateFin=27/11/2008&rbtnRefHoraire=rbtnRefHoraireGMT'
,rowNum: 205
,rowList: [25,50,75,100]
,imgpath: 'DZ/Style/Gridview/basic/images'
,mtype: 'post'
,datatype: 'json'
,shrinkToFit: false
,loadComplete: setToolTips
,width: 850
,toolbar: [true,"top"]
,onCellSelect: loadActDetails,
colNames: ["D","D","Q"," "," Jour "," Date "," Activité "," Dep "," H.dép "," H.Arr "," Arr "," Fn1 "," Fn2 "," Sect "," Immat "," Infos ","b","c","d","e","g"]
, colModel: [{name:'id', sortable:false, hidden:true}
,{name:'desiderata', width:31, align:'center', resizable:false, search:false, indexsearch:false}
,{name:'qualif', width:31, align:'center', resizable:false, search:false}
,{name:'typeact', width:20, align:'center', resizable:false, search:false}
,{name:'joursem', width:52, align:'left', resizable:false}
,{name:'date', width:55, align:'left', resizable:false, search:false}
,{name:'activite', width:70, align:'left', resizable:false}
,{name:'dep', width:50, align:'left', resizable:false}
,{name:'hdep', width:62, align:'left', resizable:false, search:false}
,{name:'harr', width:62, align:'left', resizable:false, search:false}
,{name:'arr', width:45, align:'left', resizable:false}
,{name:'fn1', width:48, align:'left', resizable:false}
,{name:'fn2', width:48, align:'left', resizable:false}
,{name:'sect', width:55, align:'center', resizable:false}
,{name:'immat', width:66, align:'left', resizable:false}
,{name:'info', width:400, align:'left', resizable:false, search:false}
,{name:'tooltipADep', sortable:false, hidden:true}
,{name:'tooltipHDep', sortable:false, hidden:true}
,{name:'tooltipHArr', sortable:false, hidden:true}
,{name:'tooltipAArr', sortable:false, hidden:true}
,{name:'activitecouleur', sortable:false, hidden:true}
]
});
here is the function for onCellSelect
function loadActDetails(aRowId, aColumn, aContent)
{
if (aColumn == 6)
{
var data = {};
data.txtActId = aRowId;
data.dzAction = 1799 ;
$('#divDetail').show();
$("#gridPlanning").setGridParam({loadtext:'Loading ...'});
$("#pContenu").load('index.php', data);
}
}
With FF, no problem when user click on the 6th visible column named 'activite'
With IE7, user have to click on the 7th column named 'dep' to obtain the same results.
Thanks
Gerard
12:12
Moderators
30/10/2007
Hello,
Thank you.
I will test definitley this in IE7. It is quite possible that here things are
not changed 🙂
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.
03:19
Moderators
30/10/2007
Hello,
Thank you.
This exactly the problem in IE in cellEdit with hidden coulmns. I will try
to fix this.
Thank's
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.
08:09
Moderators
30/10/2007
Hello,
The fix will be in the next release and not in the upcomming
this Sunday
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: 715
Currently Online:
62 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