columns.render is not having this context, how to get the element of the cell ?
columns.render is not having this context, how to get the element of the cell ?

i am using columns.render for dispalying the data. But i need to append another element to the cell
i tried accessing this.$el. But this is undefined. There is no context.
How to get the element?
This discussion has been closed.
Replies
this.$el
is a very Vue way of looking at itPart of the problem with accessing the cell in the renderer is that the cell might not have been created when the renderer is called!
I would suggest using
columns.createdCell
if you want to append another element to the cell (and you don't want it taken account of in filtering / sorting).Allan
Thanks Allan for the suggestion, will use createdCell