Repeat Table Header in All Pages in DocType

Hello All,

I create a custom doctype with wide child tables, and I need the table header to be repeated in every scroll of a page (the table header NOT the page header/footer which can be set in erpnext setup) {
} {
} {
thead {display: table-header-group; }

Add above lines in you custom print format css section and add that class name in tags like .