Is there a way for a column to ALWAYS be in an edit state.
For instance, if I have a Unbound Column and it data template contains a CheckBox for both the itemTemplate and the editTemplate.
In order for me to check or uncheck the checkbox, i have to click once to go into edit mode on the cell and then click again to toggle the check.
Anyway to make the single click enable edit mode on the cell and to manipulate the control right away with out having the extra click >?
I figured it out, you can set the IsReadOnly property to True for the individual columns you dont want folks to edi.t
You can loop through the columns and for each column that derives from EdiableColumn set the IsReadOnly property
TextBoxColumns, CheckBoxColumns are EditableColumns
// psudocode
foreach (Column c in grid.Columns)
{EditableColumn ec = c as EditableColumn;
if (ec!=null)
ec.IsReadOnly=true;
}
Is there a way to allow Editing at the grid level, but specify which coloums are editable at the <ig:Columns> level for those of us who are using autogeneratecolumns= false?
I had settings for the editingsettings on my grid that conflicted with each other i guess.
I had:
<ig:EditingSettings AllowEditing="Cell" IsF2EditingEnabled="True" IsMouseActionEditingEnabled="SingleClick" IsEnterKeyEditingEnabled="True" IsOnCellActiveEditingEnabled="True"/>When I changed it to:<ig:EditingSettings AllowEditing="Cell" IsMouseActionEditingEnabled="SingleClick"/>Everything works now.
<ig:EditingSettings AllowEditing="Cell" IsMouseActionEditingEnabled="SingleClick"/>Everything works now.