You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Display horizontal scrollbar on an oj-table

Received Response
123
Views
5
Comments
edited Apr 7, 2021 8:20PM in Visual Builder 5 comments

Content

We have a table where we allow users to dynamically add/remove columns they want to see in the table.  The number of columns can sometimes push the table off the right side of the page and the entire page is stretching to the width of table.  We would like the page width to remain as is regardless of the number of columns in the table.

We have tried using the style property on the table and setting width:300px; height:300px; as an example, but the horizontal scrollbar is not showing up.  We have also tried setting scroll-position.x="0" scroll-position.y="0" thinking that might force the scrollbar to appear as well.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!