I am looking for an option in ag-grid editable table,Where full row is in edit mode in ag-grid, one column is a dropdown selection and the others are simple text editors.
I am unable to find an option for this requirement.
Hi @Ram_Ch , you can first define your list like below:
dropdownlst = (âAâ, âBâ, âCâ)
And then configure the column like below:
gb.configure_column(âYour Col Nameâ, editable=True, cellEditor=âagSelectCellEditorâ, cellEditorParams={âvaluesâ: dropdownlst })
When you double-click on any cell in that column, the dropdown list should appear and be choosable.
It is nice. But in st.selectbox, when user type, automatically the options that are consistent comes up to list. But in this model explained above user must choose. I have a very long list. Is there any way that I create something similar to st.selectbox?
How can i change the single selection into multiple selection ??
And once the user select more than one value they are displayed in the cell seperated with comma.
dear Shawn, please share the dynamic data. I mean API make call needs to bind for aggrid dropdown while editing option. Actually, static data is working fine. thank you in advance.
No. Ordinarily, I donât think a dropdown in the same column on each row can have different options. But who knows, there may be someone else on this forum who can be more inventive with JS and accomplish this with AG grid⌠If it is possible, it would surely be difficult.