Comments (4)
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.
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.
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.
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)
- 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.