How to use a variable from column rendering in rowCallback
How to use a variable from column rendering in rowCallback

I have some variables declared in a column render function and i want to use that variables in rowCallback.I don't want to write the same piece of code again.
Is it possible?
Thank you.
This discussion has been closed.
Answers
You could possibly use global variables but but you would need to put them in an array - one array element for each row. Then in rowCallback you can access the appropriate array element. Seems like a lot of work and hassle.
I would consider instead to write a function for any duplicate code.
Kevin