Sticky Column Header in Data Grid 2

0
Hello Community,   I was trying to make the column header sticky in data grid2, but I am not able to achieve that. I was able to make the data grid 2 button panel sticky but having a hard time on the column headers sticky.  
asked
1 answers
0

Hi Sudhanshu,

                   Try this one,

                       .sticky-grid-wrapper .table-container head-dg2

position: sticky; 

top: 0; 

background: #fff; 

z-index: 10;

}

answered