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
2585
groupByWrapper Locale
posted

I am upgrading to 2017.2 I'm trying to convert this groupByWrapper.EmptyGruopByAreaContent("{0}") to the new locale format. I'm stuck everything I tried hasn't worked. Can you help? This was my last try which I know isn't right.

groupByWrapper.Locale((Action<Infragistics.Web.Mvc.Grid.GroupBy.GroupByLocaleBuilder<Infragistics.Web.Mvc.Grid.GroupBy.GroupByLocale>>)
(builder => groupByWrapper.EmptyGroupByAreaContent("{0}")));

Parents
No Data
Reply
  • 29417
    Verified Answer
    Offline posted

    Hello Tammy, 

    Thank you for posting in our forum. 

    The Locale method has two overrides, one allows to set the locale options via expression builder, for example:

            .Features( f=> { f.GroupBy().Locale(loc => {

                loc.EmptyGroupByAreaContentSelectColumnsCaption("text");

            }); })

     The other allows setting it via text, for example:

            .Features( f=> { f.GroupBy().Locale("{emptyGroupByAreaContent: 'Group By'}"); })

     If the option is not specified in the expression builder approach you can set it via the second one via a string.

    Let me know if that solves your issue. 

    Best Regards,

    Maya Kirova

    Infragistics, Inc.

    www.infragistics.com/support

     

Children