Borya-Goldarb commited on
Commit
1024eee
·
verified ·
1 Parent(s): 986d229

Update pages/comps_data.py

Browse files
Files changed (1) hide show
  1. pages/comps_data.py +18 -32
pages/comps_data.py CHANGED
@@ -123,38 +123,24 @@ with col_2_2:
123
  # Add the second button on the right side
124
  with col_2_3:
125
  st.button("Right Button")
126
- if option == ":rainbow[On]":
127
- # max_column_width = 600
128
- col_3_1, col_3_2 = st.columns(2)
129
- with col_3_1:
130
- # c1 = st.container(height=120)
131
- # df_data_checkbox = add_checkbox_column(df_data)
132
 
133
- st.data_editor(
134
- df_data_checkbox,
135
- column_config={
136
- "Select rows": st.column_config.CheckboxColumn(required=True),
137
- },
138
- disabled=["widgets"],
139
- hide_index=True,
140
- )
141
 
142
- # st.write(df_data_checkbox)
143
- # df_data.insert(loc=0, column='__', value=[False]*len(df_data))
144
- # st.data_editor(
145
- # df_data,
146
- # column_config={
147
- # "favorite": st.column_config.CheckboxColumn(
148
- # "Your favorite?",
149
- # help="Select your **favorite** widgets",
150
- # default=False,
151
- # )
152
- # },
153
- # disabled=["widgets"],
154
- # hide_index=True,
155
- # )
156
- with col_3_2:
157
- c2 = st.container(height=120)
158
- c2.write('Comps list:')
159
- c2.write(filtered_data)
160
 
 
123
  # Add the second button on the right side
124
  with col_2_3:
125
  st.button("Right Button")
126
+ # if option == ":rainbow[On]":
 
 
 
 
 
127
 
128
+ col_3_1, col_3_2 = st.columns(2)
129
+ with col_3_1:
130
+ # c1 = st.container(height=120)
131
+ # df_data_checkbox = add_checkbox_column(df_data)
 
 
 
 
132
 
133
+ st.data_editor(
134
+ df_data_checkbox,
135
+ column_config={
136
+ "Select rows": st.column_config.CheckboxColumn(required=True),
137
+ },
138
+ disabled=["widgets"],
139
+ hide_index=True,
140
+ )
141
+
142
+ with col_3_2:
143
+ c2 = st.container(height=120)
144
+ c2.write('Comps list:')
145
+ c2.write(filtered_data)
 
 
 
 
 
146