how to freeze data grid header \ first row ?

0
/file?guid=19703248378898223
asked
2 answers
0

you can use CSS to do it:

option 1 => 

className {
     max-height: 60ox;
     overflow: auto;
}

option 2 => 

 th {
        background: #242424;
        position: sticky;
}

 

answered
0

Hello Poonam,

Create custom file and the best practice to write your styles is SASS.

 

Apply class name as your preferred name and try with below code.

position: sticky;

answered