Hi.. i ma using xamdatagrid in my project.In that i should display 1000 users in XamdataGrid. Its working fine but if i filter based on Full name and scroll the full names using mouse wheel that filter window hangs and also my project.How can i handle mouse wheel in that filter window. plz solve this issue....
Hello,
Thank you for your post. I have tried to reproduce this issue without success. Would you please tell me the version of our assembly files that you are using like e.g. : 12.2.20122.2089. It would be great if you can attach a sample application where it occurs.
Looking forward to hearing from you.
11.2
Hi Bhavya,
Thank you for your reply. I have tested the same behavior with the reported version and no hanging happens on my side. Shankarnag has a desired to handle the mouse wheel scrolling event on the filter window. I am attaching a sample application(DataGridFiltring.zip) that shows how to handle it. Could you please test the sample application and tell me if the issue happens on your side ?
There was a piece of code for our software theme in which we have not mentioned the key. As soon as we gave the key for that the problem with mouse wheel scrolling got resolved.
<Style x:Key="TreeView" TargetType="{x:Type TreeViewItem}"> <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" /> <Setter Property="IsExpanded" Value="{Binding IsExpanded}"/> <Setter Property="Margin" Value="3" /> </Style>
Anyways thanks for the co-operation sir. :-)
Regards
Bhavya.
Thank you very much for your reply. I have been looking into this and if seems that the setting of the Margin causes the issue. Please remove the following line :
<Setter Property="Margin" Value="3" />
and tell me the result. Could you please tell me why you have set it ?
Hi Sir,
You are rite, setting the margin itself was the mistake. Removing it makes the software work fine. Its not making any difference in the view part even if we remove the margin. Thank you. :-)
Thank you for your reply. I am glad that you have managed to siolve your issue.