More than 40 column

QuestionsMore than 40 column
D.P asked 5 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 5 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

15 + 13 =

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 / 5. Vote count:

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

Let us improve this post!