David-Mulder / paper-datatable

A material design implementation of a data table.
GNU General Public License v3.0
237 stars 92 forks source link

How to hide header? #129

Open TakhirMamirov opened 7 years ago

TakhirMamirov commented 7 years ago

I can't directly apply css to hide header. What I need is to set height to 0px here:

topBlock{

            height:64px;
            padding:0px 6px 0px 24px;
            position:relative;
            @apply(--paper-datatable-top-toolbar);
        }

How can I do it from my template where datatable resides?

dhrytsenko commented 6 years ago

@TakhirMamirov Did you try to use custom mixin --paper-datatable-top-toolbar? You can easily use mixin:

#datatableCard {
--paper-datatable-top-toolbar: {
    height: 0px;
}
}