Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
setFilter(uniqueName: String, filter: FilterObject)
[starting from version: 1.4]
Sets the filter for the specified field.
Parameter/Type | Description |
---|---|
uniqueName String | The field’s unique name. |
filter FilterObject | Contains filtering information. Note that filter.members , filter.exclude , and filter.include filters do not apply if the field contains one member. |
1) If you want to see data for certain field members, specify them in the members
property:
pivot.setFilter("Country",
{
"members": [
"country.[poland]",
"country.[uk]",
"country.[ukraine]",
]
}
);
Try the example on JSFiddle.
2) If you want to hide certain field members, specify them in the exclude
property:
pivot.setFilter("Country",
{
"exclude": [
"country.[australia]",
"country.[japan]",
"country.[norway]",
"country.[sweden]",
]
}
);
Check out the example on JSFiddle.