Horizontal Scrollbar in grouping demo

QuestionsHorizontal Scrollbar in grouping demo
Jake asked 11 years ago

While trying to understand and use the grouping example, I found it impossible to get the horizontal bar to disappear after trying to change the widths of columns and after trying different options to resize the grid box. I am using Google Chrome. Is there a fault in the code where it does not calculate the full width of all columns and ignores the width of the first column with the check boxes in the grouping example?

I have tried
$grid["autowidth"] = true;

and I have tried

$grid["auto_width"] = false;
$grid["shrink_to_fit"] = true;
$grid["width"] = 800;

In both cases, the horizontal bar stays at the bottom, cutting off the actions column.

View post on imgur.com

Now, I made the grid fixed size but I want to get rid of the horizontal bar which is not working.

1 Answers
Abu Ghufran answered 11 years ago

Hello,

You can specify the width of action column, that will override default setting.

# Customization of Action column width and other properties
$col = array();
$col["title"] = "Action";
$col["name"] = "act";
$col["width"] = "100";
$cols[] = $col;

Your Answer

2 + 12 =

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?