Comments (6)
Hi,
I will see how hard it would be to add this in the next version. However I'm
not sure is it feasible, because current table can edit existing records with
existing ids. If I add automatically new record it must be added on the server
side first and get the new id. This is possible only if there are no required
fields in the record when the new one is created (this is rare case).
However I will try to add this feature too.
Regards,
Jovan
Original comment by [email protected]
on 19 May 2011 at 8:03
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from jquery-datatables-editable.
Jovan,
This turns out to be more complex than it initially seems.
Maybe it can be accomplished by adding a form in the table footer that just has
the appearance of being a row in the table.
Or maybe a dummy key field can be generated in the table (maybe a negative
number) that can then be overwritten after the call to the server side insert
returns the database's new key id.
Just some thoughts. Thanks for all your work on this so far. It is a much
needed widget, and a great help!
Thanks!
Jon
Original comment by [email protected]
on 20 May 2011 at 2:05
from jquery-datatables-editable.
Hi,
I have tied it but it si too complex. You can acomplish this behavoiur now if
you set fnRowAdding() function as a parameter and manyally inject new row,
apply editable and stop further add action. However I have no idea when cell
content should be submitted (it would look odd if it is saved on blur of each
cell).
Therefore I thinhk that this feature should not be included in the standard
plugin.
However, thanks for idea.
Regards,
Jovan
Original comment by [email protected]
on 28 May 2011 at 1:37
from jquery-datatables-editable.
This will not be included in the near future versions. Logic is to complex.
Original comment by [email protected]
on 1 Jun 2011 at 5:00
- Changed state: WontFix
from jquery-datatables-editable.
The plugin is still very useful anyway and much appreciated. Thanks for looking
into this.
Original comment by [email protected]
on 1 Jun 2011 at 5:38
from jquery-datatables-editable.
"Too complicated": The original datatables deluxe plugin "edit" support this
behaviour. Too bad that it costs > $100.
Original comment by [email protected]
on 12 Sep 2012 at 2:36
from jquery-datatables-editable.
Related Issues (20)
- issue with inline delete redrawing with pagination, only 1st page worksrest ( including searches ) do not redraw table
- Not compatible with jquery higher than 1.9
- Add new row: after first insert, the Cancel button not shown
- Error on Deleted Row
- Only first page of mult-page table is editable. HOT 1
- Delete Button problem HOT 2
- makeEditable() is undefined HOT 1
- Unable to customize buttons HOT 1
- How I can make Editable more of one table
- Patch for /trunk/media/js/jquery.dataTables.editable.js
- Editing AJAX sourced data in the popup window
- Patch for /trunk/media/js/jquery.dataTables.editable.js
- Delete behaving as Post call
- Refresh the table after delete a record
- Refresh the table after delete a record HOT 1
- Missing images for demo_table.css HOT 1
- vgfdzvfz
- editable with responsive HOT 1
- makeEditable() on two tables in the same page HOT 1
- sNewCellDisplayValue is undefined. Typo in variable declaration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-datatables-editable.