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
3220
NumericField: When pressing the spin button the underlying datatable doesn't get updeted
posted

Hello,

when pressing the spin button in the NumericField, the underlying DataTable doesn't get updated. Only when I leave the cell. OnCellValueChanges is used.

<igDP:FieldSettings DataItemUpdateTrigger="OnCellValueChange"/>

<igDP:XamDataGrid x:Name="grdInfeed" GroupByAreaLocation="None" DataSource="{Binding InfeedTableView}" IsEnabled="{Binding IsEditable}">
            <igDP:XamDataGrid.FieldLayoutSettings>
                <igDP:FieldLayoutSettings AutoGenerateFields="False" SelectionTypeCell="None"/>
            </igDP:XamDataGrid.FieldLayoutSettings>
            <igDP:XamDataGrid.FieldSettings>
                <igDP:FieldSettings DataItemUpdateTrigger="OnCellValueChange"/>
            </igDP:XamDataGrid.FieldSettings>
            <igDP:XamDataGrid.FieldLayouts>
                <igDP:FieldLayout>
                    <igDP:TextField Name="COL_SortingProgramName" Label="{x:Static l:lang.MachineControl_Infeed_TableColumn_SortingProgram}" AllowEdit="False" Width="300"/>
                    <igDP:NumericField Name="Speed" Label="{x:Static l:lang.MachineControl_Infeed_TableColumn_Speed}" Mask="{}{number:0-100}" SpinButtonDisplayMode="Always" >
                        <igDP:NumericField.PromptChar>
                            <sys:Char></sys:Char>
                        </igDP:NumericField.PromptChar>
                    </igDP:NumericField>
                    <igDP:TextField Name="IsCurrent" Visibility="Collapsed"/>
                </igDP:FieldLayout>
            </igDP:XamDataGrid.FieldLayouts>
        </igDP:XamDataGrid>