We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GreaterThanEqualTo and LessThanEqualTo on Numeric Column Type treated as Equal To

Thread ID:

Created:

Updated:

Platform:

Replies:

131710 Jul 24,2017 03:35 PM UTC Jul 28,2017 07:39 AM UTC WPF 4
loading
Tags: SfDataGrid
ajay murudkar
Asked On July 24, 2017 03:35 PM UTC

GreaterThanEqualTo and LessThanEqualTo on Numeric Column Type treated as Equal To

And After filter when we again go and check the filter, it shows Equal To.

Srinivasan Vasu [Syncfusion]
Replied On July 25, 2017 05:00 PM UTC

Hi Ajay, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query and we are not able to reproduce the reported issue in our side. For your reference, we have attached the tested video and sample along with response. 
Could you please revert us the modified sample along with replication procedure? Also, share details regarding filter operation and Application logic with us. It will be helpful to analyze further on this. 
 
 
 
 
Regards, 
Srinivasan 


ajay murudkar
Replied On July 26, 2017 02:13 PM UTC

Thanks for the reply.

I used your sample Application already and it works perfectly OK.

We have Dynamic Columns, use using Attached Properties, Just to test I changed them to static Columns and still has the issues.


The issue is - If I select FIlter as GreaterThanEQualTo or LessThanEqualTo It always sets the filter to Equal

I just added a filtering event to verify what FIlter Value I am receiving from UI while setting the filter, and it comes up with Equal instead of any of the above.

Do you know any scenarios where Filter sets Equal for GreaterThanEQualTo or LessThanEqualTo

I am suspecting may be My GridStyle has some issues, I am still trying to find my way, but if you could find out this scenario for me that would be good.

Do you know any scenarios where Filter sets Equal for GreaterThanEQualTo or LessThanEqualTo.

I do see GreaterThanEQualTo and LessThanEqualTo  correctly though while I am on Numeric Filter.


ajay murudkar
Replied On July 27, 2017 10:46 AM UTC

The issue is caused by the Localization, I want to see the values in different languages, it does shows that correctly, but then I think its not setting up correct value inside the synfusion filter and always ends up with 1st default value of "Equals"


This is how we are trying to do the conversion

<ComboBox x:Name="PART_MenuComboBox2"  Grid.Row="4"  Margin="0,0,10,10"

 ItemsSource="{Binding FilterTypeComboItems,  RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource GetLocalizedString}}"

 SelectedItem="{Binding FilterType2,  RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}" />


Do you have any sample to handle such scenarios?
I am trying to use <ComboBox.ItemTemplate> but not getting the proper values displayed in the combobox.


Srinivasan Vasu [Syncfusion]
Replied On July 28, 2017 07:39 AM UTC

Hi Ajay, 
 
Sorry for the delay. 
 
We don’t have direct support for changing culture in Runtime and we have created a simple Localization sample. We did not understand your query clearly. 
Could you please modified the attached sample with your application scenario and revert us with replication procedure? Also, if possible, please share video file for your issue details. 
Because, in our sample Filtering working fine based on culture(Language). Could you please explain how could you apply the below conversion code to sfdatagrid? 
 
Code: 
 
This is how we are trying to do the conversion 
<ComboBox x:Name="PART_MenuComboBox2"  Grid.Row="4"  Margin="0,0,10,10" 
 ItemsSource="{Binding FilterTypeComboItems,  RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource GetLocalizedString}}" 
 SelectedItem="{Binding FilterType2,  RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}" /> 
 
 
 
 
Regards, 
Srinivasan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;