Antd-design generates an editable table, cell with a select control, how to control the display of this control through a click event

as shown in the picture, click on the cell to display the select control and select the field type. Click outside the cell, and the cell returns to its original appearance

clipboard.png

clipboard.png

Mar.31,2021

provides an idea of setting a boolean variable isShow as false,

in state.
//
this.setState({isShow:true})
// 
this.setState({isShow:false})

then show or hide

according to isShow
Menu