datagrid2 header hidden

0
hello :-) how to make the header of a datagrid 2 hidden?   found this code in the forum but probably only working for normal datagrid .datagrid-noheader.datagrid {     .datagrid-column-header {        display: none;     }      }   tried also this: .datagrid2NoHeader {     display: flex !important;     align-items: flex-start !important;     font-weight: 600 !important;     background-color: #fff !important;     border-width: 0 !important;     border-color: #ced0d3 !important;     padding: 16px !important;     display: none !important;     position: -webkit-sticky !important;     position: sticky !important;     top: 0 !important;     background-color: #E5E5E5 !important; }   some advices? thanks      
asked
3 answers
0

Create a class in your custom SCSS:

.noheader .table .th {
    display: none !important;
}

Create a container on your page and put the DG2 widget in it.

Add class ‘noheader’ to the container.

 

 

 

answered
0

Leave the caption field(s) of the columns empty

answered
0

Hej Ruud :)

yes i did this but then it looks like this.

 

we dont want to have this space

answered