Hello Support,
We are using the xamPivotDataSlicer & xamPivotDataSelector controls in our application. We came across couple of issues while working with it. we would need your assistance for resolving these issue.
1. xamPivotDataSelector not getting cleared: We want to clear the data in the xamPivotDataSelector when user navigates to other control. For clearing the xamPivotDataSelector, we are setting the datasource for the xamPivotDataSelector to null. However the xamPivotDataSelector is not cleared even after setting the datasource to nothing. Can you please tell us is there any other way to clear the xamPivotDataSelector.
We have created a sample applicaiton in which this issue is replicated. Please find attached the same. Following are the setps to replicate this issue:
• Click on Account Payable• Hit refresh button• Check the pivot data selector heading it will show Account Payable Data.• Switch to Account Receivable tab and now pivot data selector will be empty• Switch to Transaction Viewer tab hit refresh button• Check pivot viewer it will show heading as Account Receivable Data.• Now switch back to Transaction Viewer and click on Account Payable.• Go to pivot viewer & now this time data selector isn’t cleared out. We want that when the user navigates from one option to another the data should be cleared.
2. On the level combo the mouse hover does not work: In xamPivotDataSlicer select hierarchy as Category or any other string type column, then click on Level drowpdown box, you can see that the mouse does not hover on the first item.
Please look into the above mentioned issue and let us know if there is any workaround for these issues.
Hi,
About the first issue: in method ResetPivot() replace line
pivotDataSelector.DataSource = null;
with:
if
(pivotDataSelector.DataSource != null)
{
(pivotDataSelector.DataSource
as FlatDataSource).ItemsSource = null;
}
About second issue: first item is hovered when mouse is over the item caption. If you want mouse hover to work when the mouse is not over the item caption you should change the value of HorizontalContentAlignment property in ComboBoxItem template in Slicer Office Theme. Now it is set to "Left". Set it to "Stretch" and it will work.
Regards,
M.Yovchev