Skip to content
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

Dynamic options list in Editable select column #1423 #1460

Merged
merged 1 commit into from
Jul 16, 2017

Conversation

yakirg
Copy link

@yakirg yakirg commented Jul 7, 2017

Still missing support for insert dialog.

Still missing support for insert dialog.
@AllenFang
Copy link
Owner

#1423

@AllenFang AllenFang merged commit 62b928a into AllenFang:v4.0.0-dev Jul 16, 2017
@AllenFang
Copy link
Owner

@yakirg, this PR was fixed and released on `v4.0.0-beta.8

Thanks your contributions

@antoine35
Copy link

antoine35 commented May 29, 2020

Hello,
I can't seem to make the values ​​dynamic according to another column in an online edition. Do you have an example please?

const listeUfs = {
0: [],
9: [{value: "uf 9-1", text: "uf 9-1"}],
};

<TableHeaderColumn key='idHopital' dataFormat={this.centreFormatter}  editable={{ type: 'select', options: { values: listeCentres } }} isKey={false} dataField='idHopital'  >
  Centre               
</TableHeaderColumn>
 <TableHeaderColumn key='uf'  editable={{ type: 'select', options: { values: listeUfs["idHopital"] } }} isKey={false} dataField='uf'  >
   UF                          
 </TableHeaderColumn>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants