GriControl filter rows GreaterThan

hello,
i used the datagrid with XPCollection from Devexpress.

i used tips from some previous thread like this
  public class SfDataGridExt : SfDataGrid
    {
        private object itemSource;
.....
    
        public virtual void OnItemSourceChanged()
        {
            DataSource = (ItemSource as XPCollection).Cast<XPObject>();
        }

then i ran app an in UI i tried filter columns (int, datetime etc) with after, after equal condition and then app crashed with error.

"Binary operator GreaterThan is not defined for the types System.Object and System.Object."

I don't understand why is it happennig and what i should do to override operator like GreaterThan .

CellType of specific column is set to Numeric.

Thanks in adavnce for your suggestions!

Best regards!

Honza


1 Reply 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team June 17, 2021 03:29 PM UTC

Hi Jan, 

Thank you for contacting Syncfusion support. 

Based on provided information we suspect that reported problem occurs  due to underline type mismatched.So, reported problem occurs. Please refer the below Stack over flow for your reference, 

Vijayarasan S 


Marked as answer
Loader.
Up arrow icon