Error trying to produce error with free download.

QuestionsError trying to produce error with free download.
Bill Bailey asked 4 years ago

trying to produce first grid with free version. Want to try some before buying. But I get no data. I have turned on debug and get mysql statements that I tested and that work. I also get json data that does not show all the closing charatters. https://imgur.com/AjGtqoi

2 Answers
Bill Bailey answered 4 years ago

I went back in after changing my primary key to be the first field.  Didn’t fix problem, but I did see the entire json string.  It looks okay.  I have accessed beginning items and items in rows; and it all works.  So my error probably does not come from the json string being incomplete.  The json string follows:

{“page”:1,”total”:1,”records”:”2″,”rows”:[{“pk”:”1″,”firstname”:”William”,”lastname”:”Bailey”},{“pk”:”2″,”firstname”:”Linda”,”lastname”:”Bailey”}]}

 

Abu Ghufran Staff answered 4 years ago

Hi,

The first column of grid must have unique alphanumeric data (usually a PK).
This is required for proper display as well as update & delete operations of particular row.
Later, You can also hide that column by setting $col[“hidden”] = true;

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

10 + 8 =

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?