bacsa / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

Hidden "Click To Edit" on Data NULL #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, i wish hidden the text "Click to Edit" when into datatables there is a data 
NULL or empty, but the row will however editable

Original issue reported on code.google.com by luigide...@gmail.com on 7 Jan 2012 at 4:19

GoogleCodeExporter commented 9 years ago
Hi,

If I understand you correctly you want to hide "click to edit" if data is null 
or empty. I think that this is not possible because JEditable plugin cannot 
enable editing cells with no content.

Regards,
Jovan

Original comment by joc...@gmail.com on 9 Feb 2012 at 9:17

GoogleCodeExporter commented 9 years ago
This anser is not correct.

It is possible to simulate an empty field using "placeholder : '  '".
The field does remain editable and appears empty (See: 
http://www.datatables.net/forums/discussion/2004/empty-cell-display-click-to-edi
t/p1)

My problem is, that I don't know how I can use that with this 
jquery-datatables-editable plugin.

Original comment by daniel.g...@gmail.com on 12 Sep 2012 at 11:49

GoogleCodeExporter commented 9 years ago
A hack to make it work is to edit jquery.jeditable.min.js and replace "Click to 
edit" with " ".

Original comment by daniel.g...@gmail.com on 12 Sep 2012 at 11:57