Hi,
I need HTML tags in select options to have different styling eg:
101 – <i>My description</i>
If I use the tags like above then it shows in the grid but if I cancel an edit, the cell will be empty.
After a litte debugging I found out that the grid parameter savedRow doesn’t contain the ID of the selected record in the column when starting editing.
How can I use tags for styling select options in the grid?
Thank you in advance
Daniel
1 Answers
Hello,
Styling in dropdown option is not very well supported in html (so as in our datagrid)
There are some solutions that uses other JS libraries to replace html dropdown to custom to achieve styling.
https://stackoverflow.com/questions/7208786/how-to-style-the-option-of-an-html-select-element
Your Answer