Horizontal scrolling in the grid works when its width is set to a fixed value (px, rem, etc.). But the h scroll disappear when a percentage is assigned to the width of the grid.
This seems to be a known 'feature' to Telerik:
A sensible behaviour is to have the horizontal scrolling enabled and at the same time being able to set the grid to percentage width.
Hello Adam,
The Telerik UI for Blazor Grid is rendered as plain HTML with CSS classes that cascade styling via CSS rules. Our components are subject to the same HTML and CSS limitations as a standard HTML table wrapped in a div element.
The calc() method should be feasible to implement in most cases. Unfortunately, at the time of writing this, there is no good way to implement the scenario you are after as a built-in solution.
That being said, I am marking this request as "Declined".
Regards,
Svetoslav Dimitrov
Progress Telerik
Hi Svetoslav, I am not thinking of how HTML with CSS would have done it and if this is possible in HTML with CSS in the first place. I am looking logically from a component level where the component would take the max container size (width=100%) and still have scroll inside to fit its columns to the available space.
Hello Adam,
Can you share with us an example with a <table> wrapped in a <div> of how you expect this behavior to work?
Regards,
Svetoslav Dimitrov
Progress Telerik