Sticky Row on top

Hi, I am trying to make a row sticky on top. Is there any setting for this or I need to code it? Thank you