Navigation in Datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
Hi,

One of the ways is setting
Datagrid1.enabled = false

I hope this helps?

Cor
 
Create a Dataview based on the DataTable

Dim dv as DataView = dataTable.DefaultView

Bind the grid to the view. Right now, you will not notice any difference in
behavior whatsoever so it's totally inobtrusive

Now, set the .AllowNew property of the DataView to false..
Connull said:
I want to enable editing in the datagrid so I cannot set the enabled
property to false. Any other ideas.
My main concern is the New line it creates for inserting data, I only want
the user to be able to edit existing data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top