I would like to add a custom row at the bottom of an ember-table so that it will allow the user to insert new rows to the table. Which approach should I take? The idea is similar to the one asked here but using a fixed row and ember-table.
How to add a custom row for adding data to ember-table?
1k Views Asked by Henry Vonfire At
1
There are 1 best solutions below
Related Questions in EMBER-CLI
- ember-cli bootstrap collapse need help on code
- How to create a modal confirmation dialog before delete with ember-cli
- How to embed Wufoo form in Ember application
- Ember CLI generated unit test is failing on it exists
- Display Ember library versions in browser console on app load
- watchman not found on phusion/baseimage Docker image with ember-cli
- Embedding two Ember Cli App Instances in the same page
- Ember-cli , how do i change rest call on fly in the rest adapter
- Load and unload multiple components in a sidebar using Ember
- Migrating to Ember 1.1x - Getting rid of ObjectController + ArrayController design
- In Ember how can I create a component by name programmatically
- Reuse ember controller for two routes, but pre populate part of model on one of the routes
- Accessing an Ember CLI app's config from within an addon
- How to set the i18n.locale from within an initializer
- What's the proper way to do async calls in Ember?
Related Questions in EMBER-TABLE
- ember.js how to automatically detect delta of models
- Ember-table integration with Ember-model / Ember-data
- Ember-table integration with Ember Data using FixtureAdapter
- Ember : Build error after installing ember-table
- How to form the following table with Ember?
- Delete item from ember-tables
- How to add a custom cell-template to Ember-Table table
- How to add a custom row for adding data to ember-table?
- I want to create a ember table component whose value is updated dynamically [Ember.js]
- typescript error TS2688 after installing ember-table. Can I not ignore those?
- Lazy Loading using ember table while calling the RestfulService
- Addepar Ember Table Example (Non Coffeescript)
- Ember-table: fails when used in a hidden div (workarounds welcome!)
- No rows rendered by embertable but colums show up
- ember-table even odd color strip
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'd suggest extending Ember Table to override
footerContent:You'd then override
Ember.Table.Rowwith a custom row, and put that intofooterContent. You could define an extra action on that row which grabs the row's data and adds it tocontentbacking the main table. (You'd need to pass a reference tocontentinto your custom row).You can do the same thing by overriding
bodyContent, but I think using a footer is perfect for this purpose, and I increasingly think overridingbodyContentis a bad idea.