question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not add new record when setting insertRow=true

See original GitHub issue

Hi, I am running into an issue when using insertRow={true}. when i add this property, i can see the blue “New” button, but after i click the button, there is no pop up to add a new record and it seems no error and warning.

Using: “jquery”: “~2.1.4” “react”: “>=0.13.3” “react-bootstrap”: “>=0.23.5” “react-bootstrap-table”: “^2.1.0”

By the way, the deleteRow is ok for me.

the snippet is:

ReactDOM.render(
<BootstrapTable data={contacts} insertRow={true} deleteRow={true} options={tableOptions}>
<TableHeaderColumn dataField="component" dataAlign="center" isKey={true} editable={false}>Component</TableHeaderColumn>
<TableHeaderColumn dataField="release" dataAlign="center" editable={false}>Release</TableHeaderColumn>
<TableHeaderColumn dataField="email" dataAlign="center">Email</TableHeaderColumn>
<TableHeaderColumn dataField="role" dataAlign="center">Contact Role</TableHeaderColumn>
</BootstrapTable>, 
document.getElementById('app') );

Would appreciate any help on the issue!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
simozhancommented, Mar 30, 2016

Ah. yes @AllenFang . i add bootstrap.min.js and it works now. Many many thanks

0reactions
AllenFangcommented, Mar 30, 2016

Great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CANNOT ADD NEW RECORD(s) TO A FORM I JUST CREATED
First, make sure that the Allow Additions property of the form has been set to Yes, and that the Recordset Type property of...
Read more >
Microsoft Access form - cannot add new record - Stack Overflow
The form has a property setting to only allow edits to existing records, and not create new records. Check if that property is...
Read more >
Why Won't Add New Record show in record picker?
A record picker won't show the Add New Record button. I've checked user roles, and the parent record's advanced settings, and the form's...
Read more >
Error: Could not insert new record - Esri Support
Solution or Workaround. You can modify the GeocodedFeatureClassExtension object so it does not attempt to geocode new records that you add to the...
Read more >
Solved: Insert new record - ServiceNow Community
Solved: I am trying to insert a new record to another table. Issue is the record gets inserted but with the blank values....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found