Cant load data if simply add set_options

QuestionsCant load data if simply add set_options
Joel Gomes asked 3 years ago

Hi everyone, i’m creating a new grid after one or two years since the last ones, im facing a stupid problem if i add the code down, the grid comes without data, if i delete that it will load with data but completely desconfigurated, how can i fix this?

$grid[“caption”] = “Sample Grid”;

$g->set_options($grid);

 

2 Answers
Joel Gomes answered 3 years ago

$grid[“caption”] = “Sample Grid”;

$g->set_options($grid);

View post on imgur.com

without

View post on imgur.com

Abu Ghufran Staff answered 2 years ago

It’s more like a CSS issue. Most likely you are missing HTML doctype tag in html output. Add following before <html>.

e.g.

<!doctype html>
<html>
….

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

18 + 5 =

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?