Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Thanks, I'm glad that you like it.

1) Regarding the additional parameter could you try to add it into the 
sUpdateURL parameter e.g. sUpdateURL: "UpdateRow.php?sSqlTableName=my_table"? I 
think that this will work.

2)Someone already asked me for this excel like adding new rows but in the near 
future this will not be implemented. When new row is added to the table it must 
have valid id into the TR therefore it must be saved into the database. This is 
a special case where the row can be added without any validation on any field 
(allowed all blank values) and this is not common case. Also, if I add blank 
row, first cell you edit migh cause the row to be moved in the table according 
to the sort condition that is currently applied. This way the blank row will 
just jump-off first time you enter any value in the cell. There were few other 
issues in this scenario and therefore I have abandoned this idea.

Regard,
Jovan

Original comment by [email protected] on 14 Jun 2011 at 10:28

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Hi Jovan,

Thank you for the reply, and just a small comment:

UpdateRow.php?sSqlTableName=my_table 
won't work since you allow only POST method for update calls with predefined 
parameters. Perhaps, in addition to sAddHttpMethod and sDeleteHttpMethod you 
can also add "sUpdateHttpMethod" so user can choose GET and pass additional 
parameters as you suggested.

Or if you want to stay to POST only, you can add an option for user to add his 
own parameters.

Again, great plugin.

Alex

Original comment by [email protected] on 15 Jun 2011 at 7:14

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Sorry I have not noticed that we are talking about update :). I do not have 
much control in update mode because I just pass parameters to the JEditable 
plugin so method that will be used should be set as a parameter of the custom  
column editor. You can set "method" parameter in the individual column editors 
(see example in the 
http://jquery-datatables-editable.googlecode.com/svn/trunk/custom-editors.html 
although here I have not set "method" param). If individual column editors are 
not used default JEditable configuration is used for all editors.
You can see all options that cna be set here in jquery.jeditable.js source or 
on the jeditable site.

Original comment by [email protected] on 15 Jun 2011 at 12:07

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024

Original comment by [email protected] on 15 Sep 2011 at 8:54

  • Changed state: Done
  • Added labels: Type-Other
  • Removed labels: Type-Defect

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.