Unhide all columns on mobile screen

QuestionsUnhide all columns on mobile screen
Nicolas asked 4 years ago

Hi, when using the grid on mobile, almost all columns are hided automatically. Is there any mean to not autohide columns in any case. Also if I select all columns manually on the mobile, after a time it looses the selection (may be because the cookie is out of time)

Thank you!

1 Answers
Abu Ghufran Staff answered 4 years ago

You can set:

$grid[“cmTemplate”][“visible”] = “xs+”; // show all column on small screens
$grid[“shrinkToFit”] = false; // enable horizontal scrollbar

$g->set_options($grid);

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

10 + 11 =

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?