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
5549
Prevent some columns to edit
posted

Hi, i use currently infragistics v10 vol3 webdatagrid. i bind it dynamically with an dataset. i have edit mode on to change the value of some cells (but not all! )
now i want some columns prevent for editing (change values) .
What is the best way to handle this code behind !
i set the columns also code behind
ilke this
Dim Datacolumn2 As New BoundDataField
        Datacolumn2.DataFieldName = sFieldname.ToLower
        Datacolumn2.Key = sFieldname.ToLower
        Datacolumn2.Header.Text = Titel
        Datacolumn2.Width = nsize
        webdatagrid1.Columns.Add(Datacolumn2)

in the InitializeRow event i have no property.