Daniel
Daniel

Reputation: 143

ObjectListView localize the strings used in the Filter menu

I tried to localize the strings that are used in ObjectListViews Filter menu. The Documentation (Link) says I have to set static properties on the FilterMenuBuilder class or put my own instance of FilterMenuBuilder like:

this.olv1.FilterMenuBuilder = new MyFilterMenuBuilder();

So far everything looks good, but my ObjectListView have no FilterMenuBuilder-Property and I didn't know how to get further.

Any Ideas? - Thank you in advance.

Upvotes: 1

Views: 187

Answers (1)

Daniel
Daniel

Reputation: 143

According to Comment of Rev1.0

FilterMenuBuildStrategy

is the correct Property.

Accessing the Labels for localization only works like Documentation says:

FilterMenuBuilder.APPLY_LABEL = "test123";

Thanks a lot!!

Upvotes: 1

Related Questions