{t("Raw Data")}
+ {tableData.length > 0 && (
+
+ {tableData.length} records loaded
+
+ )}
-
+
{/* Datacenter Selection */}
@@ -109,41 +182,84 @@ function MainDataTables() {
isSearchable
isLoading={dataCenterStore?.loading}
noOptionsMessage={() => t("No data centers available")}
+ styles={{
+ menu: (provided) => ({
+ ...provided,
+ zIndex: 9999, // Ensure dropdown appears above other elements
+ }),
+ menuPortal: (provided) => ({
+ ...provided,
+ zIndex: 9999,
+ }),
+ }}
+ menuPortalTarget={document.body} // Render dropdown in body to avoid container overflow
/>
+
{selectedDataCenter ? (
(
+
+ )}
/>
) : (