radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
https://www.radzen.com
MIT License
3.57k stars 798 forks source link

Datagrid loses filter and/or Sorting when certain actions occur #870

Closed codepend closed 1 year ago

codepend commented 1 year ago

Describe the bug When using ToolTips or clicking on a button on a row to "EditRow" any current filtering or sorting is removed making the current row move to whatever it's original position was.

To Reproduce Steps to reproduce the behavior:

  1. Create a Datagrid, enable Filtering and or Sorting
  2. Include an EditTemplate and create a button to get into Edit Mode (or create a button that does nothing but have a ToolTip on it)
  3. Filter or Sort your data, then hover over a ToolTip or click the Edit button
  4. Filter and Sorting will clear

Alternatively link your repo with a sample project that can be run.

Expected behavior Filtering and Sorting would not be affected by ToolTips or Edit Context

Screenshots image image

Desktop (please complete the following information):

*Additional Info Radzen.Blazor version: 4.7.13

enchev commented 1 year ago

I'm unable to reproduce such problem on our in-line edit demo: https://blazor.radzen.com/datagrid-inline-edit sort-edit