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
1775
The problem with moving the column with conditional formatting
posted

Hello!

We are using xamGrid 11.1.

Please help with the following problem:

There XamGrid table with a number of speakers (no matter their number.) Group by doing one of these columns. Then apply the conditional formatting:

 MaximumValueConditionalFormatRule rule = new MaximumValueConditionalFormatRule
                        {
                            StyleToApply = (Style)Application.Current.Resources["Max_Style"],
                            IsTerminalRule = true,
                            RuleExecution = Infragistics.EvaluationStage.AfterFilteringAndPaging
                        };
                        _curCol.ConditionalFormatCollection.Add(rule);

where _curCol - Infragistics.Controls.Grids.Column.

This rule is well applied in all groups. Then when you try to move this column with conditional formatting occurs System.NullReferenceException. I understand this column disappears from the collection class AllColumns ColumnBaseCollection.