Simple example that help me to understand how to set a cell editable
Simple example that help me to understand how to set a cell editable
I've been reading and testing most of the examples on how to make a row or a column editable posted in this forum. Everyone seems to be working. But so far I haven't been able to get the solution to my problem.
This post helps me http://www.datatables.net/forums/discussion/15153/disable-jeditable-on-a-single-column
but I need specific cells to be editable not columns. So it looks like I need to get a more specific selector in
var editableCellsSelector = 'td:nth-child(2),td:nth-child(3)';
$(editableCellsSelector , oTable.fnGetNodes()).editable( saveValue, {.....
Any suggestion?
PS: Btw where is the editable method sintax explained ? Couldn't find it.
Replies
The method you have looks like it should probably work, also using class names might be easier. We would need a link to be able to debug it, but I should point out the
editable
plug-in is third party and not supported here. My understanding is that it is also no longer supported by its author.Editor is the official Editor for DataTables and its inline option is documented here:
inline()
.Allan