diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index 96dcf12ac4..7ac9e31ea6 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -56,7 +56,7 @@ const styles = ` .p-datatable-scrollable-table > .p-datatable-thead { position: sticky; top: 0; - z-index: 1; + z-index: 2; } .p-datatable.p-datatable-gridlines .p-datatable-scrollable-table > .p-datatable-thead {