Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
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)

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.