Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 26, 2024
"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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.