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
ts.rows is undefined
05/01/2010
16:33
Avatar
kutty
New Member
Members
Forum Posts: 2
Member Since:
05/01/2010
sp_UserOfflineSmall Offline

Hi,

I am using jqgrid JSON format with PHP Zend frame work.

When I am rendering the grid, then I  got a js error 'ts.rows is undefined' FF , 'ts.rows.length' is null or not an object in IE 7.0 and data is not loaded. It is showing Loading… image.

When I am using same code with normal PHP it is working. In both cases (with Zend and without Zend) the JSON data is same.

The json data looks like

{”page”:”1″,”total”:1,”records”:”1″,”rows”:[{"id":"1","cell":["","Hi","2010-01-19","00:00:12","123456","Show&Tell","Open","New"]}]}

Please give me some clue to over come this error.

Thanks,

Kutty

06/01/2010
08:49
Avatar
kutty
New Member
Members
Forum Posts: 2
Member Since:
05/01/2010
sp_UserOfflineSmall Offline

Found out the issue.

The problem turned out to be that I was attempting to use a DIV instead of a TABLE for the datagrid container.

http://www.trirand.com/blog/?p.....-undefined

    

<!-- Grid --> <table id="search-results-datagrid" class="scroll" cellpadding="0" cellspacing="0"></table> <!-- Pager --> <div id="search-results-pager" class="scroll" style="text-align:center;"></div> Best,Keith
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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