Comments (4)
I found that it works if I do an id-based call for each table, e.g.
$('#foo1').dataTable().makeEditable({
sUpdateURL: function(value, settings)
{
alert(value + $(this).attr('id') );
return value;
},
});
$('#foo2').dataTable().makeEditable({
sUpdateURL: function(value, settings)
{
alert(value + $(this).attr('id') );
return value;
},
});
This is without adding any buttons or adding the button-related config to the
initialisation. So... not sure why the class selector wouldn't work the same
way.
Original comment by brianna.laugher
on 26 Jul 2011 at 3:34
from jquery-datatables-editable.
I will investigate this. However if you are using same initialization on
different tables then you are using identical UpdateData server page for
updating values in differen tables. Why you need this as you have identical
data managed with the sme function but in the different table.
This is not related to the issue you have reported - it just looks strange to
me.
Original comment by [email protected]
on 20 Aug 2011 at 8:41
- Changed state: Accepted
- Added labels: Priority-High
- Removed labels: Priority-Medium
from jquery-datatables-editable.
Well, I could make them the same table actually, but I had them as separate
tables to insert a heading and break up the layout a bit. I am using an id on
the cell to identify my data rather than row/column info.
Original comment by brianna.laugher
on 21 Aug 2011 at 5:59
from jquery-datatables-editable.
Hi,
Please use different ids instead of classes. I have tried this and there are
few other issues that happens when I fix this.
For now this will be know bug because there are easy workaround (using
different ids as an example).
Jovan
Original comment by [email protected]
on 29 Sep 2011 at 6:10
- Changed state: WontFix
- Added labels: Priority-Low
- Removed labels: Priority-High
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.