File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -807,6 +807,22 @@ describe('IgxPivotGrid #pivotGrid', () => {
807807 expect ( pivotGrid . nativeElement . clientWidth - expectedSize ) . toBeLessThan ( 50 , "should take sum of columns as width." ) ;
808808 } ) ;
809809
810+ it ( 'should render cell values for dimension columns containing dots - issue #16445' , ( ) => {
811+ let data = fixture . componentInstance . data ;
812+ data = data . map ( item => {
813+ return {
814+ ...item ,
815+ Country : `${ item [ 'Country' ] } .Test`
816+ } ;
817+ } ) ;
818+
819+ fixture . componentInstance . data = [ ...data ] ;
820+ fixture . detectChanges ( ) ;
821+
822+ const cell = fixture . componentInstance . pivotGrid . gridAPI . get_cell_by_index ( 0 , 'Bulgaria.Test-UnitsSold' ) ;
823+ expect ( cell . value ) . not . toBeUndefined ( ) ;
824+ } ) ;
825+
810826 describe ( 'IgxPivotGrid Features #pivotGrid' , ( ) => {
811827 it ( 'should show excel style filtering via dimension chip.' , async ( ) => {
812828 const pivotGrid = fixture . componentInstance . pivotGrid ;
You can’t perform that action at this time.
0 commit comments