Radzen DataFilter IQueryable Demo AutoFilter not respond

In Employee Last name example


After I typed something into the textbox, the datagrid view will not be filtered/updated until I press 'Enter' Key or click outside of the box (de-focus the text box). Is there a easy way to literally filter onInput of the textbox component if it is a string property?

...
  <RadzenDataFilterProperty Property="Employee.LastName" Title="Employee Last Name">
      <FilterTemplate>
          <RadzenTextBox Value=@($"{context.FilterValue}") style="width:100%"
            @oninput=@(args => { context.FilterValue = $"{args.Value}"; dataFilter.Filter(); }) />
      </FilterTemplate>
  </RadzenDataFilterProperty>
...

1 Like