Skip to content

Dynamic options list in Editable select column #1423#1460

Merged
AllenFang merged 1 commit intoAllenFang:v4.0.0-devfrom
yakirg:v4.0.0-dev
Jul 16, 2017
Merged

Dynamic options list in Editable select column #1423#1460
AllenFang merged 1 commit intoAllenFang:v4.0.0-devfrom
yakirg:v4.0.0-dev

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