Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Is there any way to show/hide analytical model categories in a given view?
In short: any way to check/uncheck the following checkbox ?
BTW, when that option is checked and I programmatically show elements (Categories), they are finally visible in the view, but the corresponding checkboxes in the UI-TreeView are not checked.
I am using the following code to display a category:
var categories = document.Settings.Categories;
foreach (Category category in categories)
{
if (category.CategoryType == CategoryType.AnalyticalModel
&& category.get_AllowsVisibilityControl(view))
{
category.set_Visible(view, true);
}
}
BR
Solved! Go to Solution.