-
Notifications
You must be signed in to change notification settings - Fork 776
Dynamic options list in Editable select column #1423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@yakirg, it's impossible now but I have few question options: {values: posRefineTypes[Pos]}} } what's the |
Pos is one column select value (stands for Parts Of Speech) Hope this clears a bit ... |
@yakirg, I probably know your requirement, I'll consider to add this feature by a callback function, you can decide what options list you want depend on row data, that's what I think but I need to check code and no schedule promise here, sorry for that due to busy recently. thanks |
@allen, a callback will be great! Thanks. |
Still missing support for insert dialog.
Created a PR with a suggested fix. |
@yakirg, nice !! I will check this out. 👍 |
Fixed on |
* commit 'c7ab34cabb40a66fe237a12413cb31798cdb4ff1': (32 commits) v4.0.0-beta.8 prod example for AllenFang#1478 refine for setting attributes on editor example for AllenFang#1423 fix bug for wrong select options add ref and event handling simplify combining attrs allow setting attrs on editable cells v4.0.0-beta.7 prod Dynamic options list in Editable select column AllenFang#1423 Still missing support for insert dialog. v4.0.0-beta.6 prod remove redundant state issue-1130: added show to make size dropdown compatible with bootstrap4 v4.0.0-beta.5 prod replace React.PropTypes with `prop-types` replace PropTypes with `prop-types` library to remove warnings ...
|
Hi, I believe I am still having the problem @yakirg mentioned where the the "row" is undefined in the insert dialog, and so I cannot choose my values this way for the insert dialog. Is there a fix for this? I am using version react-bootstrap-table v4.0.5. |
The insert dialog was never fixed, and I had difficulty implementing it, as
there is no 'row' object available at that stage. I wish it was fixed, but
it was not critical for my application, so I did not pursue it further.
…On Thu, Dec 7, 2017, 6:25 PM Shannon Benson ***@***.***> wrote:
Hi, I believe I am still having the problem @yakirg
<https://github.com/yakirg> mentioned where the the "row" is undefined in
the insert dialog, and so I cannot choose my values this way for the insert
dialog. Is there a fix for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1423 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIyabC-eJA5z4CPbTmY5IGQNUpkY62Z2ks5s-HPdgaJpZM4OF32Q>
.
|
I am not able to get this going. I am trying to filter the drop down menu options based on the value of one of the other columns, but the column it depends on is not editable.
this.state.selected_values is an object which has the same structure as posRefineTypes defined above, with the key being values of 'Product_Name' and the values being array of facilities.
|
@AllenFang @yakirg was the insert dialog issue fixed here ? Please respond, critical situation. Thanks & Regards, |
My last comment still stands. The insert was never fixed (to my knowledge) but it's not too critical for me, my users create first and edit later. |
i am facing a similar issue. Any suggestions on how to resolve it?Thanks. |
I have a problem where I have one column that is a type and another that is a refine on said type:
I need the options in the sub type to match the type, but it has to be a constant.
Is there a way to get it done?
The text was updated successfully, but these errors were encountered: