Hello!
I am migrating from UltraWebGrid to WebDataGrid and I have this column
<igtbl:TemplatedColumn DataFieldName="Ultra" AllowUpdate="Yes" DataType="bool" Width="62px">
Do I have to use the TemplateDataField?
In that case, shall I replace "DataFieldName" with "Key"? And what about "AllowUpdate"? because is not a valid option in the TemplateDataField...
Thank you very much!
Hello,
I am following up to see if the information provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.
Thank you for the update. Most things in the WebDataGrid and WebHierarchicalDataGrid are now done through behaviors. For examples for the HeaderClickActionDefault and RowSelectorsDefault you now have the sorting and row selectors behaviors:
Behaviors: http://help.infragistics.com/doc/ASPNET/2013.2/CLR4.0/?page=WebHierarchicalDataGrid_Behaviors.html
Sorting: http://help.infragistics.com/doc/ASPNET/2013.2/CLR4.0/?page=WebHierarchicalDataGrid_Sorting.html
RowSelectors: http://help.infragistics.com/doc/ASPNET/2013.2/CLR4.0/?page=WebDataGrid_Enabling_Row_Selectors.html
As for the RowHeightDefault row height is now applied through CSS. In the ig_dataGrid.css in the ig_res/Default style folder is a class called tbody.igg_Item>tr>td where the height is set to 20px.
http://help.infragistics.com/doc/ASPNET/2013.2/CLR4.0/?page=Web_WebHierarchicalDataGrid.html
Please let me know if you have any questions concerning this matter.
Thanks again!
How can I set the HeaderClickActionDefault, RowHeightDefault and the RowSelectorsDefault in the HierarchicalDataGrid?
Thank you very much for your help, I am having trouble migrating the controls because I can't find the correspondence between properties!
Thank you for the update. To mark a column as read only you would do the following:
<Behaviors> <ig:EditingCore> <Behaviors> <ig:CellEditing> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="DepartmentName" ReadOnly="true" /> </ColumnSettings> </ig:CellEditing> </Behaviors> </ig:EditingCore> </Behaviors>
<Behaviors>
<ig:EditingCore>
<ig:CellEditing>
<ColumnSettings>
<ig:EditingColumnSetting ColumnKey="DepartmentName" ReadOnly="true" />
</ColumnSettings>
</ig:CellEditing>
</Behaviors>
</ig:EditingCore>
Sorry, the code didn't show up in my previous response.
this is the one:
<
Behaviors
>
ig
:
EditingCore
CellEditing
<EditModeActions MouseClick="Single" />
EditModeActions
MouseClick
="Single"
/>
</