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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking âAccept allâ, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.