Demo entry 6634218

codeoeoeoeoeoe

   

Submitted by anonymous on Aug 09, 2017 at 11:45
Language: JavaScript. Code size: 1.5 kB.

    /**
     * Affiche les CV
     * @method render
     * @return JSX
     */
    render: function () {
        return (
            <div>
                <Header />
                <div className="row contenu">
                    <BootstrapTable
                        data={this.state.cvs}
                        insertRow={false}
                        deleteRow={false}

                        //Pagination
                        pagination={true}
                        striped={true}
                        hover={true}

                        //Tri des données
                        search={true}
                        >
                        <TableHeaderColumn  isKey={true} dataField="id" hidden={true}>CV ID</TableHeaderColumn>
                        <TableHeaderColumn dataField="nom" dataSort={true}>Nom</TableHeaderColumn>
                        <TableHeaderColumn dataField="prenom" dataSort={true}>Prenom</TableHeaderColumn>
                        <TableHeaderColumn dataField="site" dataSort={true}>Site</TableHeaderColumn>
                        <TableHeaderColumn dataField="titre" dataSort={true}>Titre</TableHeaderColumn>
                        <TableHeaderColumn dataField="dateFinMission" dataSort={true}>Date Fin de Mission</TableHeaderColumn>
                        <TableHeaderColumn dataField="id" dataFormat={this.colonneActions}>Actions</TableHeaderColumn>
                    </BootstrapTable>
                </div>
            </div>
        )
    }
});

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).