jeditable on just one column
jeditable on just one column
Hi,
I was wondering if it's possible to apply the jeditable functionality to just one column of the table, however to do so you'd have to assign a unquie identifier, as "#tableid tbody td" obviouly applies to all of them!
Is it possible?
Regards,
Miles
I was wondering if it's possible to apply the jeditable functionality to just one column of the table, however to do so you'd have to assign a unquie identifier, as "#tableid tbody td" obviouly applies to all of them!
Is it possible?
Regards,
Miles
This discussion has been closed.
Replies
It is possible, if you are useing editable.html from download section, for example just replace "#tableid tbody td" with '#example tr :first-child' as result of that only the first column will be editable . :)
There is many ways to do that this is just one of them, to learn more go to http://docs.jquery.com/Selectors :)
Luda Ameba
[code] jQuery('table.styleTable tbody tr td:nth-child(7)').editable( { .... } ); [/code]
'7' is the number the editable column.