Is it possible to render a react object in the definition of columns?
Is it possible to render a react object in the definition of columns?
jtlivio
Posts: 11Questions: 4Answers: 0
Hi all,
I would like to do this:
data: null,
render: () => {
return <DefaultButton onClick={(e) => this.Buttonclick(e)} text="Open Modal" />
But it give me object, object
Is it possible to do this and put the button in the columns?
Thank you
Answers
I'm not familiar with React, but you need to return it as a string, something like this,
Colin
Thanks @colin I'll try to find a way and post the solutions