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
getRowData not working in IE
07/05/2009
12:58
Avatar
alan
Member
Members
Forum Posts: 8
Member Since:
01/04/2009
sp_UserOfflineSmall Offline

Dammit, man. I've been chasing this one all day long. getRowData not working with jQuery 1.3.1 or 1.3.2. I had to revert to 1.2.6. Is anyone else still having this problem?

I can export data to an excel file in FF/Chrome, but not IE7. After going to 1.2.6, I can export in IE.

function export_data()
{
var mya=new Array();
mya=$("#list").getDataIDs(); // Get All IDs
var data=$("#list").getRowData(mya[0]); // Get First row to get the labels (jquery 1.3.1 & 1.3.2 NOT WORK HERE. had to use 1.2.6)

var colNames=new Array();
var x=0;

for (var i in data){colNames[x++]=i;} // capture col names

// var html="";
var html="<%=xls_header%>"+"\\n"; // add header row
html=html.replace(/,/g,"\\t"); // tab-delimit header row

for(var r=0;r

09/05/2009
07:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

What you have if you make alert(mya[0])?

Also check what values do you have in mya.

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.

09/05/2009
08:46
Avatar
alan
Member
Members
Forum Posts: 8
Member Since:
01/04/2009
sp_UserOfflineSmall Offline

In IE, mya[0] was undefined, and the array was empty. I did get data in Firefox.

Then, when I reverted back to the older (1.2.6) version of jQuery, all was well in IE. I am currently having to use the older version of jQuery because of this. It seemed to be a bug with nth-child... Let me know if you find anything.

11/06/2009
15:03
Avatar
gcaprio
Member
Members
Forum Posts: 7
Member Since:
11/06/2009
sp_UserOfflineSmall Offline

Anyone have any other ideas about this?  I'm having the same issue and I would really hate to have to revert back to 1.2.6.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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