UI-For-UWP
UI-For-UWP copied to clipboard
RadDataGrid NRE when inline editing a row with a frozen read-only column
Description
A RadDataGrid set to UserEditMode="Inline" that has a frozen column with UserCanEdit="False" will throw a NullReferenceException in XamlGridEditCellGenerator.cs when entering edit mode.
Steps to Reproduce
- Add a RadDataGrid with a data source containing at least one item with at least two properties.
- Set the following grid attributes: FrozenColumnCount="1" UserEditMode="Inline" AutoGenerateColumns="False".
- Define at least two columns for the data source properties.
- Set the first column attribute UserCanEdit="False".
- Run the app and double click a row to enter inline editing mode.
Expected Behavior
The grid should enter inline editing mode with no editor control in the first column.
Actual Behavior
The app immediately exits (or stops in debugger) due to an uncaught NullReferenceException.
Basic Information
- Version with issue: 1.0.2.8
- Last known good version: none
- IDE: Visual Studio 2019
- UWP SDK: 19041
- Nuget Packages: Telerik.UI.for.UniversalWindowsPlatform 1.0.8.2
Reproduction Link
Hi David, Thank you for looking into this. I can confirm it's a bug and I have approved your pull request. Best regards, Ves
Hi @vvgeorgiev, Thanks! I see this is tagged as ReadyForTest. Do I need to act on this?