AllenFang/react-bootstrap-table

Modal insertRow

Open

#1559 opened on Aug 17, 2017

View on GitHub
 (7 comments) (1 reaction) (0 assignees)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 ..

Contributor guide