You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lot of barely fitting in main screen resolution tables, in which there are a lot of fixed small columns and one column that should be able to grow, but don't shrink to 0 when a resolution is lower. it'd be convenient if we had an api for setting min-width and width separately and didn't need to use viewChild with querySelector on native element to change min-width on col element.
add @Input() listOfColMinWidth: ReadonlyArray<string | null> = []; to NzTableContentComponent and change setting minWidth in <col element in template to [style.minWidth]="listOfColMinWidth[$index] ?? width"
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
I have a lot of barely fitting in main screen resolution tables, in which there are a lot of fixed small columns and one column that should be able to grow, but don't shrink to 0 when a resolution is lower. it'd be convenient if we had an api for setting min-width and width separately and didn't need to use viewChild with querySelector on native element to change min-width on col element.
What does the proposed API look like?
API usage:
API implementation
add
@Input() listOfColMinWidth: ReadonlyArray<string | null> = [];
to NzTableContentComponent and change setting minWidth in <col element in template to[style.minWidth]="listOfColMinWidth[$index] ?? width"
The text was updated successfully, but these errors were encountered: