Sorting in data grid resets column width #208

Closed
opened 2026-01-29 17:33:23 +00:00 by claunia · 1 comment
Owner

Originally created by @dantronik-bugreporting on GitHub (Sep 27, 2021).

Describe the bug
When you change the column width using the separators between the columns and then sort the column by clicking a column header, the column width gets reset to default. IMO It should not do that.

To Reproduce
Steps to reproduce the behavior:

  1. Add a data grid with sorting and column resize functionality.
  2. Drag one of the column separators and increase the width of the column.
  3. Click one of the headers to sort the column.

Expected behavior
The column width should not get reset after sorting columns.

Desktop (please complete the following information):

  • OS: Windows 10, x64.
  • Browser: Chrome / Edge
  • Version: 94.0.992.31
Originally created by @dantronik-bugreporting on GitHub (Sep 27, 2021). **Describe the bug** When you change the column width using the separators between the columns and then sort the column by clicking a column header, the column width gets reset to default. IMO It should not do that. **To Reproduce** Steps to reproduce the behavior: 1. Add a data grid with sorting and column resize functionality. 2. Drag one of the column separators and increase the width of the column. 3. Click one of the headers to sort the column. **Expected behavior** The column width should not get reset after sorting columns. **Desktop (please complete the following information):** - OS: Windows 10, x64. - Browser: Chrome / Edge - Version: 94.0.992.31
Author
Owner

@enchev commented on GitHub (Sep 27, 2021):

Works normally on our demo: https://blazor.radzen.com/datagrid
sorting-resize

@enchev commented on GitHub (Sep 27, 2021): Works normally on our demo: https://blazor.radzen.com/datagrid ![sorting-resize](https://user-images.githubusercontent.com/5804953/134900688-6224c4a1-3441-4258-aa1c-3aaac2ae93e5.gif)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#208