6 Answers, 1 is accepted
I found cancelRow() but...
It's also killing the Create Row button as well... any ideas here?
If you would like to distinguish the create and update operations in the edit event handler, you should use the isNew() method of the model.
I retract my answer! :)
Am I missing something here? I'll try it in a dojo as well...
Visually, that's pretty rough; instead, can you suggest a method for hiding the edit button on rows that possess specific criteria, something like:
Thank you very much!
A more literal translation, what I'm thinking, is something in dataBound(), like this:
but this isn't quite doing it; I'm not sure if I'm calling to the fields in the row correctly; any ideas?
Again, thank you very much!
Using the dataBound event handler is the correct place to achieve the task. Here is a sample implementation, in which I am removing the edit button for specific rows.Regards,