reactjs - React : Get value of table to edit it -


i've form fields. when submit form, complete bootstrap table fields values

i want call form each row, , values table on form edit its.

i call form empty, without values. how can call form values reference ?

<bootstraptable data={this.props.items} celledit={this.celledit}> <tableheadercolumn datafield='reference' dataformat={this.editformatter.bind(this)}>edit</tableheadercolumn</bootstraptable>  editformatter(cell, row) {     return (         <button onclick={() => this.editformatterclick = (reference: string) => { }}>{cell}</button>     );  }  editformatterclick = (reference:string) => {             this.props.ondocumentselected(reference) }  ondocumentselected: (documentreference: string) => void 

this property ondocumentselected call form. how can call form values list ? thank you


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -