Skip to content

WPF sfDataGrid How-to-show-the-filter-status-message-in-wpf-datagrid filters missing #66

Open
@CADbloke

Description

@CADbloke

at https://github.com/SyncfusionExamples/WPF-DataGrid-Samples/blob/main/How-to-show-the-filter-status-message-in-wpf-datagrid/WPF/CS/StatusBar/FilterStatusBar.cs#L207 I added...

case FilterType.NotContains:
    return "[" + colname + "]" + " Does Not Contain '" + filtervalue + "'";
case FilterType.NotEndsWith:
    return "[" + colname + "]" + " Does Not End With '" + filtervalue + "'";
case FilterType.NotStartsWith:
    return "[" + colname + "]" + " Does Not Start With '" + filtervalue + "'";
case FilterType.Undefined:
    return "[" + colname + "]" + @" ¯\_(ツ)_/¯ " + filtervalue;

Thanks for making this sample, very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions