Show Yes/No (or image) if cell has data
Show Yes/No (or image) if cell has data
Hi
I have a cell called "notes" or "comments" which I dont want to show in datatables (cos they can contain big amount of data and it messes the table up) So the idea is to create a "virtual" table chich shows "yes" if the comment cell has data inside (then I'm showing this via editor, no problem) Is there a way to do it?
Thanks!
I have a cell called "notes" or "comments" which I dont want to show in datatables (cos they can contain big amount of data and it messes the table up) So the idea is to create a "virtual" table chich shows "yes" if the comment cell has data inside (then I'm showing this via editor, no problem) Is there a way to do it?
Thanks!
This discussion has been closed.
Replies
[code]
mData: "notes",
mRender: function ( data, type, row ) {
return data ? "Yes" : "No";
}
[/code]
Allan
http://datatables.net/forums/discussion/18057/edit-form-with-html-inline-datepicker-and-buttons-different-status-enabled-disabled#Item_1