Open jaketoolson opened 8 years ago
@jaketoolson Sorry, you can't. But out of curiosity, why would you want to do that?
@ratiw It gives me more control like data-toggle="tooltip"
or data-id="id"
just stuff like this.
@jaketoolson It's not possible on the tr or td level. You many need to consider using CSS tooltip for that work instead.
The only control that allows you can do that is the extra
option of __actions
special field.
You can also use __component
special field to do that as you will have total control over its template.
How can I add an attribute of "title" to td element??
@simonbaker Sorry, you cannot. It is not supported.
ok.I may use jquery to help.Thanks.
@ratiw @jeroenherczeg @simonbaker I think you can use callback option on the columns and return a custom tag with title attribute. But the title attribute will be on new tag instead of the
I'd like to add custom html attributes to a tr or td element. Is this possible?