Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to hide particular rows and columns

$
0
0

The following example demonstrates how to hide particular rows and columns by handling the CustomFieldValueCells Event.

In this example, the event handler iterates through all row headers and removes rows that correspond to the "Employee B" field value, and that are not Total Rows.

Question Comments

Added By: Andrew E at: 12/14/2014 6:34:42 PM    

The "Run Online" example here doesn't seem to work.  When you click the radio button to hide the "Employee B" row, it doesn't filter the row.  Can you please fix the code so that I can reproduce it?

Also, can you show how this example could be modified so that it filters based on not only a FieldValue, but also by the value of a measure?  For example, how could you filter out all Widget rows where their June Quantity is > 10 (which would correspond to the row where Employee = "Employee B" and Widget = "Widget B")?


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>