Skip to content

Filter Objects #1

@Andreas2015

Description

@Andreas2015

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions