Disable chart filtering

1 reply. Last post: September 27, 2010 11:31 PM by Glenn Layaar
Tags :
  • (None)

Hello!

I'm trying to figure out if there's a way to disable the filter option displayed in the Series and Categories popups?  I don't know if I'm explaining correctly, so please see the image attached.

Thank you,

Dasha.

(originally posted by mistake here: http://www.intersoftpt.com/Community/WebCombo/Disable-chart-filtering/?1285314312150)

1 attachment

Answers

Based on my test using ChartSeries_DataPoint.aspx sample, using OnAfterInitialize client side event handler, we could get the FilterExpression element based on the available filter info. However, the element will only be available after the pop up has been displayed, hence the setInterval, as shown in the snippet: 

function WebGrid1_OnAfterIntialize(id) 
{
var grid = ISGetObject(id);

setInterval(function () {
try {
var filterInfo = grid.CachePivotFilterInfoCollection[0];
var filterExpElem = test.GetFilterExpressionElement();

filterExpElem.parentNode.parentNode.style.display = "none";
}
catch (err) {}

}, 150);

}


All Replies

Based on my test using ChartSeries_DataPoint.aspx sample, using OnAfterInitialize client side event handler, we could get the FilterExpression element based on the available filter info. However, the element will only be available after the pop up has been displayed, hence the setInterval, as shown in the snippet: 

function WebGrid1_OnAfterIntialize(id) 
{
var grid = ISGetObject(id);

setInterval(function () {
try {
var filterInfo = grid.CachePivotFilterInfoCollection[0];
var filterExpElem = test.GetFilterExpressionElement();

filterExpElem.parentNode.parentNode.style.display = "none";
}
catch (err) {}

}, 150);

}


All times are GMT -5. The time now is 12:49 AM.
Previous Next