Currently, in IE 11, the sticky header option doesn't work. Is there any workaround for achieving sticky header in IE 11 please ?
Have you tried any sticky polyfills? This was says it works with top-positioned stickies, which would work with the header:
Thanks much for the response, @patorjk .
Let me try that.
Seems, there is also a react wrapper for that.
https://www.npmjs.com/package/react-stickyfill
Any idea how do we wrap the table header alone ?
Is there any property you know to wrap the header.
The table exports the TableHead component: https://github.com/gregnb/mui-datatables/blob/master/src/index.js#L10
And also lets you override the TableHead component: https://github.com/gregnb/mui-datatables#custom-components
So you could import it, wrap it, and then override it with your wrapper.
Thank you so much for the help, @patorjk
Much appreciate
Most helpful comment
The table exports the TableHead component: https://github.com/gregnb/mui-datatables/blob/master/src/index.js#L10
And also lets you override the TableHead component: https://github.com/gregnb/mui-datatables#custom-components
So you could import it, wrap it, and then override it with your wrapper.