i'm using kendo grid and i want to add OnClick in a button on template column
here is my code :
<GridColumn field="Actions" title=" " template="<button type='button' onClick='editUser("#:Id#")'><i class='fas fa-pencil-alt'></i></button>"/>
but it is not working.
i aslo tried this code it return null
<GridColumn field="Actions" title=" " template={<div dangerouslySetInnerHTML={<Button onClick={()=>this.editUser(null)} color="primary"><i className="fas fa-pencil-alt"></i></Button> }></div>}/>