Browse by category:
|| | ||
How can filtering be done at the data source level?
You can implement filtering at the data source level by implementing your own
IlvDataSource which will be based on another
IlvDataSource. In your custom
IlvDataSource, you will pass in a data source and a data source listener will be added to listen to changes in the data source. The
dataSourceChanged(DataSourceEvent event) method of the listener will be invoked when the contents of the data source changes. You will call this listener's method when you want to filter out the data sets. You will have to fire a data source event of type
DATASET_REMOVED when you want to display or hide the data sets. Here is a sample that demonstrates how to implement filtering at the data source level:
Note: In order to run this sample with JViews 8.7 and 8.8, you must call the
ilog.views.util.IlvProductUtil.DeploymentLicenseRequired method with the appropriate argument (uncomment line 43 of Main.java). See the
General information > Deployment licenses > Declaring the use of IBM ILOG JViews services section in the documentation for more information.
|Also listed in|
|Visualizations -> JViews -> Charts|
|Adding a vertical scrollbar to Gantt table in thinclient...||Custom Property Sheet Table|