Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Objects #1

Open
Andreas2015 opened this issue Aug 28, 2020 · 0 comments
Open

Filter Objects #1

Andreas2015 opened this issue Aug 28, 2020 · 0 comments

Comments

@Andreas2015
Copy link

Are there ideas to include the ability for using criteria?
I tried to add the following code to BO Product:

private string _Filter; [EditorAlias(EditorAliases.CriteriaPropertyEditor)] [CriteriaOptions(nameof(FilterType))] public string Filter { get { return _Filter; } set { SetPropertyValue<string>(nameof(Filter), ref _Filter, value); } }
[Browsable(false)] public Type FilterType { get { return typeof(Product); } }

At first it seems to work (see screenshot), but after selecting a group the FilterControl shows an error.
XAF NP inside P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant