How to add placeholder text and CSS class to an Editor input field?
How to add placeholder text and CSS class to an Editor input field?

Hello, I'm using DataTables Editor (bubble editing) with my table. And I have declared a field "idExpiryDate" like the following:
editor = new $.fn.dataTable.Editor({
/* some other configurations ...*/
fields: [
{ label: "Id Expiry Date", name: "idExpiryDate"}
]
});
My goal is to add a placeholder message to the "idExpiryDate" input field, as well as a custom class name to the input element. How can this be achieved? Thanks in advance.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @fitta ,
This thread should help, it's asking the same thing.
Cheers,
Colin