@@ -1033,6 +1033,7 @@ def update_columns(selected_columns, n_clicks, processed_links, virtual_data, se
10331033 Output ("gm-results-table" , "tooltip_data" ),
10341034 Output ("gm-results-table-card-body" , "style" ),
10351035 Output ("gm-results-table-card-header" , "style" ),
1036+ Output ("gm-results-table-column-settings-button" , "disabled" ),
10361037 Input ("gm-results-button" , "n_clicks" ),
10371038 Input ("gm-table" , "derived_virtual_data" ),
10381039 Input ("gm-table" , "derived_virtual_selected_rows" ),
@@ -1051,7 +1052,7 @@ def gm_update_results_datatable(
10511052 radiobuttons : list [str ],
10521053 cutoffs_met : list [str ],
10531054 visible_columns : list [str ] | None ,
1054- ) -> tuple [str , bool , list [dict ], list [dict ], dict , dict ]:
1055+ ) -> tuple [str , bool , list [dict ], list [dict ], dict , dict , bool ]:
10551056 """Update the results DataTable based on scoring filters.
10561057
10571058 Args:
@@ -1070,10 +1071,10 @@ def gm_update_results_datatable(
10701071 triggered_id = ctx .triggered_id
10711072
10721073 if triggered_id in ["gm-table-select-all-checkbox" , "gm-table" ]:
1073- return "" , False , [], [], {"display" : "none" }, {"color" : "#888888" }
1074+ return "" , False , [], [], {"display" : "none" }, {"color" : "#888888" }, True
10741075
10751076 if n_clicks is None :
1076- return "" , False , [], [], {"display" : "none" }, {"color" : "#888888" }
1077+ return "" , False , [], [], {"display" : "none" }, {"color" : "#888888" }, True
10771078
10781079 if not selected_rows :
10791080 return (
@@ -1083,10 +1084,11 @@ def gm_update_results_datatable(
10831084 [],
10841085 {"display" : "none" },
10851086 {"color" : "#888888" },
1087+ True ,
10861088 )
10871089
10881090 if not virtual_data :
1089- return "No data available." , True , [], [], {"display" : "none" }, {"color" : "#888888" }
1091+ return "No data available." , True , [], [], {"display" : "none" }, {"color" : "#888888" }, True
10901092
10911093 try :
10921094 links_data = json .loads (processed_links )
@@ -1098,6 +1100,7 @@ def gm_update_results_datatable(
10981100 [],
10991101 {"display" : "none" },
11001102 {"color" : "#888888" },
1103+ True ,
11011104 )
11021105
11031106 # Get selected GCF IDs
@@ -1140,6 +1143,7 @@ def gm_update_results_datatable(
11401143 [],
11411144 {"display" : "none" },
11421145 {"color" : "#888888" },
1146+ True ,
11431147 )
11441148
11451149 # Prepare display data with only visible columns
@@ -1192,6 +1196,7 @@ def gm_update_results_datatable(
11921196 tooltip_data ,
11931197 {"display" : "block" },
11941198 {},
1199+ False ,
11951200 )
11961201
11971202 except Exception as e :
@@ -1202,4 +1207,5 @@ def gm_update_results_datatable(
12021207 [],
12031208 {"display" : "none" },
12041209 {"color" : "#888888" },
1210+ True ,
12051211 )
0 commit comments