We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

4000 Apr 22,2003 11:20 PM Apr 23,2003 06:50 AM Windows Forms 1
loading
Tags: FAQ
Knup
Asked On April 22, 2003 11:20 PM

How can I hide or disable the new row in a DataGrid?

Administrator [Syncfusion]
Replied On April 23, 2003 06:50 AM

//C#
CurrencyManager cm = (CurrencyManager)this.BindingContext[this.gridDataBoundGrid1.DataSource, this.gridDataBoundGrid1.DataMember];
			((DataView)cm.List).AllowNew = false;

'VB
Dim cm As CurrencyManager = Me.BindingContext(Me.GridDataBoundGrid1.DataSource, Me.GridDataBoundGrid1.DataMember)
CType(cm.List, DataView).AllowNew = False

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;