the use of elementUI, in a project requires a single-row N-column table. The number of columns is not fixed and needs to be generated dynamically. And the contents of each cell provide editing function.
< hr > dynamically generated columns are implemented by el-table-column
http://jsfiddle.net/6ar2jons/.
column editing is implemented by custom cell contents
https://jsfiddle.net/q6b54vry/
the above two requirements can be implemented separately, but after merging, the data cannot be rendered
https://jsfiddle.net/8rqjw0yg/1/
, how can we bind the data to the cell?