-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
headerHeight=auto throwing build time error. Working fine while development. #2048
Comments
The ngx-datatable/projects/swimlane/ngx-datatable/src/lib/components/datatable.component.ts Line 192 in d71246a
But later in the code it is compared against the ngx-datatable/projects/swimlane/ngx-datatable/src/lib/components/datatable.component.ts Lines 465 to 468 in d71246a
It should be declared like the @Input() headerHeight: number | 'auto' | ((row?: any) => number) = 30; Dropping a PR... |
I'm submitting a ...
Current behavior
Setting headerHeight auto working in the dev environment (ng serve) but throwing error while production build (ng build --prod)
Expected behavior
It should work in both environment.
What is the motivation / use case for changing the behavior?
I have long header for my table. In that case headerHeight auto is best option for me.
Please tell us about your environment:
-all
The text was updated successfully, but these errors were encountered: