This example demonstrates how to hide a command button in the grid's CommandColumn by handling the ASPxGridView.CommandButtonInitialize event.
How to hide a cell value
How to hide template controls in individual cells
How to conditionally disable the UpdateButton in client code
How to create a custom command button with the appearance and action depending on a row state
How to enable/disable command buttons on the client side