igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

igx -grid - pinned columns are not visualized correctly if no width is set

Open SAndreeva opened this issue 8 years ago • 3 comments

Description

Pinned columns are not visualized correctly if no width is set on that columns.

Steps to reproduce

  1. Run the attached sample.
  2. Observe how pinned columns are displayed.

Result

Header titles are not shown, no text is displayed - see the attached screenshot.

Expected result

Text is displayed on pinned columns, they are properly sized.

Attachments

igxgrid igxgrid.zip

SAndreeva avatar Apr 10 '18 15:04 SAndreeva

@simeonoff - this might be because the flex rules don't work for items outside the display container. I was thinking of making it mandatory for the grid to have a horizontal scrollbar for pinning to be allowed (as in igGrid) which sort-of makes it required for all grid columns to have width so we may not handle this as a bug. @SlavUI what do you think?

ChronosSF avatar Apr 10 '18 16:04 ChronosSF

@ChronosSF For me it does not make sense to have Pinned columns for Grids that do not have horizontal scrolling. I agree that we should allow pinning on on Grid with horizontal scroll because the idea of the feature is to have the columns visible when scrolling horizontally

SlavUI avatar Apr 10 '18 16:04 SlavUI

Duplicate of #1034

ChronosSF avatar Apr 24 '18 12:04 ChronosSF