Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit access in DataGrid 1

Status
Not open for further replies.

Smitty020

MIS
Jun 1, 2001
152
US
I want the user to be able to edit the cells that are provided in the dataGrid, but I don't want them to be able to add a row. Is there a way to stop the dataGrid from adding a row when the user clicks down or enter?

Thanks in advance,

Smitty
 
You have to use a DataView as the grid's source. You can then control whether new rows can be added by setting the appropriate properties of the DataView.

Nelviticus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top