Datagrid 2 hide header but keep filter widgets

0
Hello guys! I have a requirement in which I needed to add a help text or tool tip to the header of a datagrid 2. The workaround I found was adding a custom text widget and a button that displays a page with the help text in the columns filter widget.   Now I have this huge space over the filter widget where the header is supposed to be (right now its blank). Is there anyway to hide this space? Maybe using css?  
asked
1 answers
1

Hi again Diego,

 

This should do the trick:

 

.{yourcustomdatagridclass}{
    .table .th .column-header {
        display: none;
    }
}

Obviously, change the 'yourcustomdatagridclass' parameter with a class name that works for you and make sure the class is added to your DataGrid2.

 

Good luck!

answered