ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Conditional display of edit/delete button in grid
Title:
B
I
{code}
?
I am using a Grid CRUD to display/edit/delete item from database. I would like to be able to display the Edit/Delete button (in the row of the grid) based on a value of my record. So some line will have the Edit/Delete button displayed, some other will not have them display. How can I do that ?
Save Changes
Cancel
Alain Rime
asked at 11 May 2017
you could do this using `ClientFormatFunc`, as shown here: http://demo.aspnetawesome.com/GridInlineEditDemo/ConditionalDemo
at 11 May 2017
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK