Note that the sample project we sent doesn't provide the complete desired functionality, but it demonstrates an approach that could be used to achieve it - thus you could modify it to suit your needs and requirements.
- In order to implement a search functionality for the rows and columns headers you need to create a custom RowHeaderTemplate and ColumnHeaderTemplate that should be applied when a column or row header matches the search requirements. Please, check the following article from out help documentation that provides more detailed information for both Templates: http://docs.telerik.com/devtools/silverlight/controls/radpivotgrid/styles-and-templates/templating-cells#using-custom-cell-and-header-templates
- In the sample project we just want to demonstrate how a different template is applied to a cell that meets some requirements - just the first cell applied it. Inside the SelectTemplate method you should implement your own logic based on which every time the "Search" button is pressed a new cell should apply some custom template.
- That behavior is caused because the "ShouldSelectCell" method that is inside "CellTemplateSelector" - the values should be converted to double before comparing them. The following code snippet demonstrates how to avoid this:
var cellValue = Convert.ToDouble(cellAggregate.Value);
var selectedCellvalue = Convert.ToDouble(
(selectedCellvalue == cellValue)
- RadPivotGrid generates for visualization only the cells that are visible in the screen. The solution that we suggested will only work for the cells that are currently visible and generated.
We hope the provided information is helpful.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.