Disabling CTRLA / Delete In Datagrid

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

Hi,
is there a way to prevent users from

a) selecting single rows and deleting them
b) select the entire table and delete it with CTRL+A then Delete

Also,
is there a faster way to copy the a data grid into the clipboard? If I
have a larger datatable, CTLR+A takes forever.

Thanks for any help
Alex
 
Hi Alex

a) and b) use DataGrid1.ReadOnly = True

Sorry i don't any fast way to copy the datatable to the
clipboard.

Kind Regards
Jorge
 
Jorge,
thats not the solution as I still need to be able to edit. I need to be
able to edit the table but want to prevent the user from deleting entire
rows or the table.

Alex
 
Jorge,
thats not the solution as I still need to be able to edit. I need to be
able to edit the table but want to prevent the user from deleting entire
rows or the table.

Alex
 
Back
Top