components icon indicating copy to clipboard operation
components copied to clipboard

[Table] Add input for sticky columns

Open andrewseguin opened this issue 9 years ago • 9 comments

Introduce ability to have sticky columns in the cdk-table.

andrewseguin avatar Jul 19 '17 21:07 andrewseguin

@andrewseguin, ne update or work around for having sticky columns in either cdk-table or mat-table

ankeshdave avatar Nov 29 '17 16:11 ankeshdave

No update yet - working right now on improving the docs and the ergonomics of designing what it looks like to make it easier to build out a simple table or make it easy to make modular

andrewseguin avatar Nov 29 '17 18:11 andrewseguin

I would use this feature today if it were available. sticky columns in mat-table

NAHaley avatar Feb 16 '18 20:02 NAHaley

Yes please add a feature that enables a mat-table column to be sticky, my use case is this: I have a lot of columns in my table, and I enabled the horizontal scrolling of the table so the columns would not shrink to fit the windows size. My last column in the table is where my 'actions' column is located: add, edit delete. So for the user to see those buttons they have to scroll to the right. but it would be very nice if I can make that column always stick to the right so it is always visible by the user.

oomz avatar Mar 05 '18 07:03 oomz

Hi guys. is this working? should be closed?

mariohmol avatar Dec 13 '18 00:12 mariohmol

Yes this works and should be closed. https://material.angular.io/components/table/overview#sticky-rows-and-columns

andrewseguin avatar Dec 14 '18 21:12 andrewseguin

There is a bug where the table is too big (wide)... it sticky the first column.. but when you scroll horizontally, it satys stick for the nex t 10 columns and then after he loose the sticker (scroll with the other)

mariohmol avatar Dec 14 '18 22:12 mariohmol

Feel free to open an issue with a reproduction in StackBlitz so we can investigate and make a fix

andrewseguin avatar Dec 15 '18 00:12 andrewseguin

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.