limit to edit on or several columns but not all

limit to edit on or several columns but not all

valdezrvaldezr Posts: 49Questions: 0Answers: 0
edited December 2009 in General
I have tried with no succesful the next code

[code]
jQuery('table.styleTable tbody tr td:nth-child(2)').editable(
[/code]

What I am doing wrong?

I also substituted
table by my variable oTable which is initialized this way

[code]oTable = $('#example').dataTable();[/code]
but neither works

and also I have substituted table by the id of my table, example

I am using firefox on linux is there something special

Replies

  • allanallan Posts: 61,840Questions: 1Answers: 10,134 Site admin
    Hi valdezr,

    There shouldn't be anything special about Firefox on Linux :-). Are you initialising jEditable before DataTables or after? If before, then this should work fine, and a good test would be to remove the DataTables initialisation and see if the jEditable one has worked. If you are doing it the other way around, then you'll need to use fnGetNodes() - http://datatables.net/examples/advanced_init/events_post_init.html

    Regards,
    Allan
This discussion has been closed.