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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Make cell non-editable

Thread ID:

Created:

Updated:

Platform:

Replies:

89731 Sep 3,2009 06:42 PM UTC Oct 16,2009 09:34 AM UTC WPF 4
loading
Tags: GridControl
Andre Slenko
Asked On September 3, 2009 06:42 PM UTC

I tried to use the following statement (this.dgMain.Model[3, 2].IsEditable = false) to make a cell non-editable but it still allows me to edit text in that cell. How do I make a certain cell non-editable?

Andre Slenko
Replied On September 3, 2009 06:55 PM UTC

I got the answer: this.dgMain.Model[3, 2].ReadOnly = true;

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 7, 2009 06:50 AM UTC

Hi Andre,

Thanks for your feedbacks.

Thanks,
Fahad
Grid.WPF Team
Syncfusion Inc.,

Rafael Huapaya
Replied On September 29, 2009 07:02 PM UTC

Private Sub GridDataControl_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles gdcActivos.Loaded
Dim grid As Syncfusion.Windows.Controls.Grid.GridDataControl = CType(sender, Syncfusion.Windows.Controls.Grid.GridDataControl)

grid.Model(grid.Model.RowCount - 1, 2).Enabled = False

End Sub

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On October 16, 2009 09:34 AM UTC

Hi Rafael,

Thanks for your post, that is also one way to do it.

Thanks,
Fahad

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.

Warning Icon 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.Close Icon

;