Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable "Fit to View" #234

Open
maordavidov opened this issue Jan 25, 2025 · 2 comments
Open

Disable "Fit to View" #234

maordavidov opened this issue Jan 25, 2025 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@maordavidov
Copy link

Is there a way to disable the "Fit to View" functionality? I have a large data table and would prefer to use a horizontal scrollbar to review the dataset more comfortably, but I can't find an option to enable this feature.

@vitPinchuk vitPinchuk self-assigned this Feb 6, 2025
@vitPinchuk vitPinchuk added the question Further information is requested label Feb 6, 2025
@vitPinchuk
Copy link
Contributor

@maordavidov Thank you for your question.

Columns in business tables operate with an auto width by default. This means that if all columns use an 'auto' width, the main table will fit the width of the panel as best it can.

Image

Panel

Image

But if the width of the panel becomes too small, a horizontal scroll will be added.

Image

You may need to add a scroll bar to a panel that is wide enough.

Please use the following approach, it may be acceptable.
Uncheck the auto property from the width option and set the width as needed for columns.

Image

Let me know if this works for you, and we can close the issue.

@maordavidov
Copy link
Author

I saw that, the problem with that is it's not fitting to the text but to the view. For example, if I have a field that requires a minimum of 100px the auto is not setting it to 100px and adding the horizontal scroller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

2 participants