Posted 09 Jun 2015 Link to this post
Hi
How can I hide the Excel Export button in runtime? Depending on the logged in user I have to hide and show the Export Excel button.
Would you have some sample code?
Posted 10 Jun 2015 Link to this post
Hello Derek,
You could add the condition in the Grid configuration. E.g.
.ToolBar(tools =>
{
if
(<condition>)
tools.Excel();
}
})