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
Internet Explorer 7 + Cell Editing
04/11/2008
05:32
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

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 😉

04/11/2008
09:43
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

with Ie8 it works great the Problem only happens on Mouse - Clicks !

If I use the Keyboard - everthing works great.....

cheers, Uter

04/11/2008
10:54
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

More Information:

I am using the DatePicker, MouseWheel & TimePicker Plugins also -> maybe jqgrid is ungulty for my IE7 Problem ;)

If someone needs Code - feel free to ask I don't want to make this thread unreadable *G*

cheers, Uter

04/11/2008
11:28
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

04/11/2008
12:31
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

already tried it, but Problem still exists.

Thx for Reply 😉

04/11/2008
12:50
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

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 😉

04/11/2008
12:57
Avatar
Uter
Member
Members
Forum Posts: 22
Member Since:
28/10/2008
sp_UserOfflineSmall Offline

I forgot to delete my cache - now it works with your tipp 😉

Thx again and congratulation to your Plugin !

27/11/2008
02:49
Avatar
cage
Member
Members
Forum Posts: 15
Member Since:
31/03/2008
sp_UserOfflineSmall Offline

Hi,

I have the same problem with onCellSelect with ie7.

I don't know about ie6

Modify grid.celledit.js don't solve the problem.

Have you a quick solution ?

I have to close my project at 12:00

Help !!!!!

Gerard

27/11/2008
03:37
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

27/11/2008
04:03
Avatar
cage
Member
Members
Forum Posts: 15
Member Since:
31/03/2008
sp_UserOfflineSmall Offline

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

27/11/2008
10:28
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

27/11/2008
11:34
Avatar
cage
Member
Members
Forum Posts: 15
Member Since:
31/03/2008
sp_UserOfflineSmall Offline

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

27/11/2008
12:12
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

28/11/2008
03:08
Avatar
cage
Member
Members
Forum Posts: 15
Member Since:
31/03/2008
sp_UserOfflineSmall Offline

Thanks Tony,

We find the way !

there is a hidden column in first position.

We just move it on last position.

Now index are the same in IE and FF.

28/11/2008
03:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

14/12/2008
08:09
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information