Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Template Add Row
posted

Hi,

I wanted to set a cell in the template add row to be editable but once it is committed as a regular row, the cell should not be editable.  I am not able to distinguish between the two types of rows.  Any ideas on how this could be done?

 Thanks

Parents
  • 1803
    Verified Answer
    posted

    hi

    can use the before cell activate event and check for the exact cell (col and row )

    If not e.Cell.Row.IsTemplateAddRow Then

            If e.Cell.Column.Key = "YourNonEditableColName" Then

    e.Cancel = True

    End If

    End If

Reply Children