igx-grid column misalignment occurs with many columns
Description
Column misalignment occurs when there are many columns
Steps to reproduce
- Run the sample application
- Observe the column alignment after "column3"
Result
String value on "column3" does not start from the left edge of "column3". The following columns have the same symptom.

Expected result
String value on "column3" starts from the left edge of "column3". The following columns behave the same.
Attachments
Hey Yuki, this issue will no longer appear if you start to use the latest igniteui-angular pachage. What should you consider:
- [email protected] is deprecated
- Use igniteui-angular for the latest features
- Uninstall igniteui-js-blocks and run npm install igniteui-angular.
npm uninstall igniteui-js-blocks
npm install igniteui-angular
- Update
.angular-cli.json
"styles": [
"styles.scss",
"../node_modules/igniteui-angular/igniteui-angular.css"
],
- Update
app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import 'hammerjs';
import {
IgxGridModule,
IgxSwitchModule,
IgxDatePickerModule
} from 'igniteui-angular/main';
- Update
app.module.tsIgxGridModule.forRoot(ROUTES)
@NgModule({
declarations: [
AppComponent,
GridComponent
],
imports: [
BrowserModule,
RouterModule.forRoot(ROUTES),
IgxGridModule.forRoot(),
IgxSwitchModule,
IgxDatePickerModule,
],
Result:

Hi Zdravko,
Thank you for the update. I confirmed that the alignment issue is not reproduced with Ignite UI for Angular version 5.1.3.
I'm attaching an updated sample. It also contains changes on column definitions since some columns had wrong dataType in the previous one. demo-app_1.zip
Thanks, Yuki