Hi,
can i know how to put placeholder in grid.
means <input type="text" placeholder="First Name"> we will give in HTML like this
how we will give in php grid
3 Answers
You can set:
$col["editoptions"]["placeholder"] = "First name";
Editoptions are translated as input attributes.
Similar to this question but I want to add data-attribute to option. I.e.
<select>
<option data-attr="attrValue">
</option>
</select>
attrValue = from database where I generate select options
Is it possible?
Your Answer