James McCool commited on
Commit
272cad3
·
1 Parent(s): 34e54fd

Update selection mode in Handbuilder tab of Streamlit app from "multiple" to "multi-row" to enhance clarity in player selection functionality.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -619,7 +619,7 @@ if selected_tab == 'Handbuilder':
619
  event = st.dataframe(
620
  st.session_state['player_select_df'].style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').background_gradient(cmap='RdYlGn_r', subset=['Salary', 'Own']).format(precision=2),
621
  on_select="rerun",
622
- selection_mode="multiple", # Changed to multiple selection
623
  key="player_select_dataframe",
624
  height=500,
625
  hide_index=True
 
619
  event = st.dataframe(
620
  st.session_state['player_select_df'].style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').background_gradient(cmap='RdYlGn_r', subset=['Salary', 'Own']).format(precision=2),
621
  on_select="rerun",
622
+ selection_mode="multi-row", # Changed to multiple selection
623
  key="player_select_dataframe",
624
  height=500,
625
  hide_index=True