Vertical bar of pinned column is cut off in the middle when rows are not filled up.
Description
Vertical bar of pinned column is cut off in the middle when rows are not filled up.
Steps to reproduce
- Go to https://stackblitz.com/edit/igx-grid-issue
Result

Expected result
Vertical bar should not be cut off.
Actually I don't think this is feasible to fix. It's just how the pinning border works at the moment. We need a different rendering method for it in order to resolve.
@simeonoff , let me know what you think. IMO this should be considered by design.
@ChronosSF yeah, since we add the pin border to the pinned cell itself, there isn't a feasible fix at the moment.
@tkiryu I will try to provide a "fix" for this in this release.
@tkiryu @simeonoff This is a scenario with explicit height set and should not be handled by use, but by the developer, by reducing the height.
The new smart defaults will never get the grid into such scenario by default, when explicit height is not set. #1054
@kdinev Hmm..., the solution that reducing the grid height doesn't seem to meet the needs of those who want to fix the grid at specific height no matter how many rows are.
igGridhas no problem with vertical bar.
http://jsfiddle.net/mbgoa7tr/
I expect igx-grid to be the same behavior.
@tkiryu Have you checked what happens with the new sizing functionality?
@kdinev Oh, sorry I haven't checked yet. I'll check #1054 with 5.3.0.rc.2.
@kdinev I checked new sizing functionality. It is nice! It makes us more convenient!
But, with my understanding, this functionality is for scenarios that grid's width/height are not provided. Unfortunately, it doesn't cover my scenario.
By the way, I probably found an issue with calculating height. https://stackblitz.com/edit/igx-grid-default-sizing
In the sample above,
- I remove
width,heightandcolumnWidthinputs from the igx-grid. - I set grid container height to
800pxvia CSS. - I add 12 rows. As a result, there are 15 rows.
I expected igx-grid height was 800px. But in fact, igx-grid height exceeds 800px.
Should I submit an issue?
@tkiryu In the referenced sample I see 15 records in the variousData array to which the grid is bound. So I’m not sure what you mean by : • I add 12 rows. As a result, there are 15 rows. Let me know if I’m missing something.
Based on the defined parameters for the new height defaults as per the original issue - https://github.com/IgniteUI/igniteui-angular/issues/1054 : height • 100% - if parent container = 0 then use the height of the viewport/window. • if rowHeight * rowCount < height then set height = null.
15 rows x 50px height each = 750px, which is less than 800. => the height is set to null hence the resulting height will not be equal to the container height. The content will span based on its own size.
By that spec headers and footers are not included in the calculations, so it’s possible for them to exceed the container height if they’re larger.
I suppose you can log it as an improvement idea as at this time the behavior is compliant with the spec, hence it shouldn’t be considered a bug.
@tkiryu I just tested your sample. The height was not set and the grid was spanning the container initially.

Then I added height, and the grid was within the height.

Here's the computed height:
