More than 40 column

QuestionsMore than 40 column
D.P asked 10 years ago

Is there way to output result from database query to display more than 35 columns and 25 rows?

1 Answers
Abu Ghufran answered 10 years ago

Yes, it is doable but will make very long horizontal grid.
You can enable horizontal scrollbar in grid if required to constraint it within page.

You need to set following params:

$grid["autowidth"] = false;
$grid["shrinkToFit"] = false; // dont shrink to fit on screen
$grid["width"] = "600"; // defaults to 900

$g->set_options($grid);

Your Answer

4 + 1 =

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?