Coder Social home page Coder Social logo

Comments (6)

liuy97 avatar liuy97 commented on July 28, 2024 2

It is difficult to implement sticky header of mat-table in virtual scrolling at the moment. That's to say, this library will probably not support this feature (until I know a feasible solution for it). This library is used as a workaround before official mat-table with virtual scroll releases.

from mat-vs-table.

liuy97 avatar liuy97 commented on July 28, 2024

This feature has not been implemented yet. The sticky header is very painful in virtual scrolling.

from mat-vs-table.

raashidalam avatar raashidalam commented on July 28, 2024

how to fixed header?

from mat-vs-table.

raashidalam avatar raashidalam commented on July 28, 2024

@liuy97 Thanks for responding quickly, Can you help us to find a workaround for sticky header also.If you can that would be very helpfull for us.

from mat-vs-table.

raashidalam avatar raashidalam commented on July 28, 2024

@liuy97 we resolved that one with the help of this resource :
https://stackblitz.com/edit/cdk-virtual-table-sticky-header?file=src%2Fapp%2Fapp.component.html

by adding this css class:
::ng-deep .cdk-virtual-scroll-content-wrapper {
transform: translateY(0px) !important;
}

from mat-vs-table.

liuy97 avatar liuy97 commented on July 28, 2024

Thanks for this information. I will look into it.

from mat-vs-table.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.