With Jeditable but not on all column
With Jeditable but not on all column
Hello,
Sorry for my english.
I use DataTables wih Jeditable like http://www.datatables.net/examples/api/editable.html
And I want that my last column is not editable. (because it's a checkbox)
Is it possible ?
Please can you explain to me... Try to use easy english words...
Thanks
Sorry for my english.
I use DataTables wih Jeditable like http://www.datatables.net/examples/api/editable.html
And I want that my last column is not editable. (because it's a checkbox)
Is it possible ?
Please can you explain to me... Try to use easy english words...
Thanks
This discussion has been closed.
Replies
You just need to use the correct selector in your jQuery statement. I'm using "$('#example tbody td')", but it could be "$('#example tbody tr td:eq(0)')" which (I think!) will select the first column. You can modify the selector to match exactly what you are looking for - have a look at the jQuery documentation: http://docs.jquery.com/Selectors
Regards,
Allan
ok it's good for me
Thanks
;D)
i need edit the fourth column.
help pliss !!!
[code] jQuery('table.styleTable tbody tr td:nth-child(7)').editable( { .... } ); [/code]
'7' is the number the editable column.
I am a beginning javascripter. I am having the same trouble and could use a full example.