Data loading into new window

QuestionsData loading into new window
Andrew Ravilious asked 1 year ago

trying to use this with phpmaker

I get the table loaded showing fine but when i has loaded the data it pops up in raw format in a model window.

like this

{“page”:1,”total”:2,”records”:22,”rows”:[{“id”:”1″,”proposalid”:”1664″,”name”:”224″,”type”:

i know it is something do with class i think as works ok when try it own it own page.

and ideas

thanks

 

2 Answers
Abu Ghufran answered 1 year ago

Hello,

Most likely there is some white space or newline before you are calling $g->render() function. Reason is JSON is being malformed due to white space character and showing as error.

Abu Ghufran answered 1 year ago

Hello,

Most likely there is some white space or newline before you are calling $g->render() function. Reason is JSON is being malformed due to white space character and showing as error.

Your Answer

18 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?