Hi,
I would like to reduce the default cell height. I tried this
<igDP:Field.Settings>
</igDP:Field.Settings>
</igDP:Field>
It did'nt change the height of the cell. I could elarge it, but not reduce it. Is it possible to change de minimum height?
I tried something else. I think there is a style that override mine. Here is what I did...
<Setter Property="Padding" Value="0,0,0,0"/>
</Style>
<igDP:FieldSettings ExpandableFieldRecordExpansionMode="ShowExpansionIndicatorIfSiblingsExist"
ExpandableFieldRecordHeaderDisplayMode="DisplayHeaderOnlyWhenCollapsed"
AllowEdit="False"
LabelClickAction="SelectField"
CellMinHeight="15" CellMaxHeight="15" CellHeight="15"
</igDP:XamDataGrid.FieldSettings>
I tried to create the style without specifying the key to make it available every where. Both solutions worded for some columns, but not for all of them. You can see the result here.
http://img294.imageshack.us/img294/3788/reducecellheightzr6.png
Is there a way to specify the style for a specific CellValueType?
I tried this :
<Setter Property="Padding" Value="4,0,4,0"/> </Style>
and I tried to change the values, it did'nt work.
The spacing between the Records is controlled by the Padding that is on the Editors. If you decrease the top and bottom padding for all editors used within the XamDataGrid, then you will have more records visible at one time.
For example, for the XamTextEditor, you could use the following:
<Style TargetType="{x:Type igEditors:XamTextEditor}">
You will have to apply an identical style to all of the editors used within the XamDataGrid. The only change in the style is the "XamTextEditor" needs to be replaced with the name of another editor.