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

Header text is not truncated correctly for numeric columns with filter icon

Open sstoyanovIG opened this issue 8 years ago • 4 comments

Description

Header text is not truncated correctly for numeric columns with filter icon.

Steps to reproduce

  1. Open https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid_virtualization.html
  2. Observe 'Change' and 'Change(%)' columns

Result

There is no ellipses and the text is cut from beginning.

Expected result

There should be ellipses.

sstoyanovIG avatar May 15 '18 08:05 sstoyanovIG

@sstoyanovIG This is to be moved in the Samples repo ;)

SlavUI avatar May 15 '18 10:05 SlavUI

@SlavUI We can easily change the column widths, so the text is not cut off, but I think that if there isn't enough space for the header text, the text should be truncated correctly like in the first or seventh column :)

sstoyanovIG avatar May 15 '18 10:05 sstoyanovIG

I think this is something that should be handled on Grid component level, igxHeader directive to be more specific. @sstoyanovIG I am assigning it for further investigation to you.

zdrawku avatar May 15 '18 10:05 zdrawku

After some investigation, it turns out that the issue comes from a style, created in the samples for the cells, that is also applied to the headers. @SlavUI, you were right :). I will close this issue and create a new one in the samples repo.

sstoyanovIG avatar May 18 '18 07:05 sstoyanovIG