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 & IE 7
11/06/2009
15:27
Avatar
gcaprio
Member
Members
Forum Posts: 7
Member Since:
11/06/2009
sp_UserOfflineSmall Offline

Hi,

Great plugin.  However, I am currently having an issue with the getRowData method call in IE.  Given this grid definition:

jQuery("#list").jqGrid({
                url: '/Warehouse/CatalogEditor/GridData/',
                height: 400,
                datatype: 'json',
                mtype: 'GET',
                colNames: ['WarehouseID', 'Stock Number', 'Name', 'Description', 'Items In Stock', 'In Stock'],
                colModel: [
          { name: 'WarehouseID', index: 'WarehouseID', width: 16, align: 'left' },
          { name: 'StockNumber', index: 'StockNumber', width: 95, align: 'left' },
          { name: 'Name', index: 'Name', width: 200, align: 'left' },
          { name: 'Description', index: 'Description', width: 285, align: 'left' },
          { name: 'ItemsInStock', index: 'ItemsInStock', width: 75, align: 'left' },
          { name: 'InStock', index: 'InStock', width: 75, align: 'left'}],
                multiselect: true,
                sortname: 'StockNumber',
                sortorder: "desc",
                viewrecords: true,
                imgpath: '/scripts/themes/basic/images',
                forceFit: true,
           }

and this call:

var ret = jQuery("#list").getRowData(rowId);      

I get an 'undefined' when I try and look at any of the properties of the ret variable.  This works just fine in FF, but not in IE.  I'm using jQuery 1.3.2, jqGrid 3.4.4 and IE 7.

Anyone have any ideas?  Is this a fix that's in the newest beta?

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

Ok, seems I solved my own issue.  The trick was to include all of the individual .js files manually. So instead of this:

<script type="text/javascript" src="/Scripts/jquery.jqGrid.js" charset="utf-8"></script>

I have all of the js files listed individually:

<script type="text/javascript" src="/Scripts/js/grid.locale-en.js" charset="utf-8"></script>
.....

<script type="text/javascript" src="/Scripts/js/grid.setcolumns.js" charset="utf-8"></script>

That seems to work now.

12/06/2009
00:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for investigating this behaviour. I recommend to use 3.5 where all modules are combined in one file.

Bets Regsrds

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:
104 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