I need to fix the columns in the script report,
datatable.style.setStyle(‘.dt-cell–col-0, .dt-cell–header-0’, {
position: ‘sticky’,
left: ‘0px’
});
I used this but unable to fix the header and the search input area.
Hope any solution is there..
I need to fix the columns in the script report,
datatable.style.setStyle(‘.dt-cell–col-0, .dt-cell–header-0’, {
position: ‘sticky’,
left: ‘0px’
});
I used this but unable to fix the header and the search input area.
Hope any solution is there..
The header row and the search input area are different DOM elements, so you need to use different z-index values.