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
Doctype syntax error in 3.5.2
14/08/2009
10:00
Avatar
pikachoo5
New Member
Members
Forum Posts: 2
Member Since:
26/06/2009
sp_UserOfflineSmall Offline

Hi I have been using 3.4.4 in a project and wanted to upgrade to 3.5.2. However version 3.5.2 seems to throw a syntax error after calling the url that fetches the json response.  Note I have not changed any code, the only change I made was to change the jqGrid version.  My project was already using jquery ui 1.7.x prior to this update. 

Here is my issue

[Image Can Not Be Found]

if you cannot see the pic, go here

Also this may be part of another topic, but would it be possible to keep the same theme called basic in version 3.5.2.  I know your goal was to keep the same theme as jquery ui, but is there a way a developer could choose a theme that is not affected by the jquery ui?

14/08/2009
10:27
Avatar
Michael Kansky
Guest
Guests

pikachoo5 said:

Post edited 10:02 – 14/08/2009 by pikachoo5
Post edited 10:02 – 14/08/2009 by pikachoo5
Post edited 10:03 – 14/08/2009 by pikachoo5
Post edited 10:05 – 14/08/2009 by pikachoo5
Post edited 10:12 – 14/08/2009 by pikachoo5


Hi I have been using 3.4.4 in a project and wanted to upgrade to 3.5.2. However version 3.5.2 seems to throw a syntax error after calling the url that fetches the json response.  Note I have not changed any code, the only change I made was to change the jqGrid version.  My project was already using jquery ui 1.7.x prior to this update. 

Here is my issue

[Image Can Not Be Found]

if you cannot see the pic, go here

Also this may be part of another topic, but would it be possible to keep the same theme called basic in version 3.5.2.  I know your goal was to keep the same theme as jquery ui, but is there a way a developer could choose a theme that is not affected by the jquery ui?


I  have the same problem.

In 3.5.2 it now throws "Object does not support this property or method. The grid is till populated, but the search button in the footer is not displayed. In FF it says "....navGrid is not a function"

Here's my code:

jQuery(



"#Applicants"

).jqGrid({

url:

'reviewadmin_Handler.ashx?mode=init&iReportList='

+ groupValue,

datatype:

'json'

,

//colNames:oJSON.gridSpecs[0].colnames,

colNames: [



'Last Name','First Name','Account No.','Applicant Status','High Score','Cumulative','App ID'

],

colModel: [

{

'name':'Last Name','index':'1', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'First Name','index':'2', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'Account No.','index':'3', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'Applicant Status','index':'4', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'High Score','index':'5', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'Cumulative','index':'6', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}},

{

'name':'App ID','index':'7', 'width':'90','searchoptions':{sopt:['eq','ne','lt','le','gt','ge','cn'

]}}

],

viewrecords:

true

,

mtype:

"POST"

,

height: 300,

width: $(window).width()-35,

forceFit:

true

,

shrinkToFit:

true

,

hidegrid:

false

,

rownumbers:

true

,

rownumWidth: 30,

multiselect:

true

,

gridview:

true

,

altRows:

true

,

autowidth:

true

,

rowNum:100,

rowList: [100,500,1000],

pager:

'#apager'

,

gridComplete:

function

() {gridLoaded()},

onSelectRow:

function

(id,status) {

// set page level var

SelectDeselect(id,status);

},

onSelectAll:



function

(rows,status) {

// set page level var

SelectDeselectAll(rows,status);

},

caption:


'Applicants'

}).navGrid(



'#apager'

,

{

edit:

false,add:false,del:false,search:true,refresh:

false

},

{},


// edit options

{},


// add options

{},


//del options

{multipleSearch:



true}

// search options

);

15/08/2009
01:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

@pickachoo5,

Please check your server response. If you open the console see what is returned from server. This error tell me that something is bad in your response.

@Michael

Please do not double the post. I see all what is posting here.

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