Bertrand Miot
Bertrand Miot

Reputation: 929

IcCube reporting V8 - How to adjust collapsible filters?

In V7 reporting, collapsible filters had options to setup their width in px and their height in either px or number of rows. Also there was an option to collapse on mouse leave.

enter image description here

Do these parameters exist as well in new V8 and I just did not find them ?

Upvotes: 1

Views: 36

Answers (1)

Tom van den Berg
Tom van den Berg

Reputation: 231

V8 does not support collapse on mouse leave.

The options about styling are moved into the theme API, see https://github.com/ic3-software/ic3-demo-plugin-theme and https://livedemo.iccube.com/icCube/report/help?ic3topic=api.plugin.Theme&ic3locale=en_US.

E.g., the code below shows where to set the tree item height (using the git example from above).

/**
 * Input of createMuiTheme( {...} )
 */
export const themeOptions: ThemeOptions = {

    ic3: {
        id: themeId,
        caption: "ic3 Demo Theme",

        cssClass: 'ic3-demo-theme',
        
        treeFilter: {
            itemHeight: 38
        },
        //...
    },
    //...
}

For the next release, we're going to add an option in the theme for the popup width and height.

Upvotes: 1

Related Questions