AllenFang/react-bootstrap-table

Modal insertRow

Open

#1 559 ouverte le 17 août 2017

Voir sur GitHub
 (7 commentaires) (1 réaction) (0 assignés)JavaScript (2 240 stars) (795 forks)batch import
help wantedin progressreact-bootstrap-table2

Description

Hi, Is there any other options for adding rows without using a modal ? actually im using the table on a modal where i have already a form to add rows on it , but i would like to keep using the 'insertRow' prop also to add a custom default rows only ? ... And for : <TableHeaderColumn width='100' dataField='target' editable={ { type: 'select', options: { values: targets } } }>Target</TableHeaderColumn> <TableHeaderColumn width='100' dataField='condition' editable={ { type: 'select', options: { values: conditions } } }>Condition</TableHeaderColumn> I m looking for a conditional select , if i select a target[x] i had to select only conditions for this current target selected ? because now i can show all these conditions and not only conditions for target[x] selected for example ..

Guide contributeur