How to disable editing and block the addition of GridView rows

1

I have GridView that the user enters with some information and saves, I would like after saving click. put all grid in ReadOnly mode and would like to block to insert or delete lines.

I'm using the'GridControl 'from DevExpress 16.1

    
asked by anonymous 05.09.2016 / 00:29

1 answer

3

I was able to resolve by editing the property:

gridView5.OptionsBehavior.Editable = false;

Thank you.

    
05.09.2016 / 00:41