Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2048
GroupBy Empty Group By Area Content
posted

Hi,

I need to re-write the EmptyGroupByAreaContent property of my GroupBy feature. Of course I would like to maintain the link where the user can click to get the modal dialog. But if I write:

GridGroupBy grouping = new GridGroupBy();
grouping.EmptyGroupByAreaContent = "Click here!!!";

I lose that link. I know that, for example for paging features, we have something like ${startRecord} or ${endRecord} to not lose those labels. Is there something also related to the Group By dialog Access link?

Thank you,

Flavio

Parents
  • 19693
    posted

    Hello Flavio,

    The property you are looking for is emptyGroupByAreaContentSelectColumns

    Is is passed as parameter in emptyGroupByAreaContent

    Here are the default values :

    emptyGroupByAreaContent: "Drag a column here or {0} to Group By",

    emptyGroupByAreaContentSelectColumns: "select columns",

    In your case you can achieve this using the setting below:

    features: [{

    name: "GroupBy",

    type: "local",

    emptyGroupByAreaContent: "Click {0} !!!",

    emptyGroupByAreaContentSelectColumns: "here",

    emptyGroupByAreaContentSelectColumnsCaption: "select columns caption on hover"

    }

    ]

    Hope this helps.

Reply Children