Skip to content

[Feature Request] pinned columns on mat table  #11644

@tatsujb

Description

@tatsujb

Bug, feature request, or proposal:

feature request

What is the expected behavior?

to be able to at least at init set certain columns as non scrollable x-wise.
(pinned columns)

What is the current behavior?

You cannot accomplish this in conjunction with other mat table features, not even if you had to rewrite 90% of mat table's functionalities to accommodate this feature.

What are the steps to reproduce?

If you try to gain the "pinned column" functionality by splitting your pinned and unpinned into two :
https://stackblitz.com/edit/angular-1vg9gn-q1back?file=app/table-basic-example.ts

you loose the column sort and column filter functionality on one of the two.

if you instead opt for the sort and filter functionalities, you have to drop column pinning.

I don't want to "pick my poison", I want to have all three!

What is the use-case or motivation for changing an existing behavior?

pinning columns

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 6
material 6
typescript 2.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions