Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RadDataGrid NRE when inline editing a row with a frozen read-only column #508

Open
davidknaack opened this issue Apr 8, 2022 · 2 comments

Comments

@davidknaack
Copy link
Contributor

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

  1. Add a RadDataGrid with a data source containing at least one item with at least two properties.
  2. Set the following grid attributes: FrozenColumnCount="1" UserEditMode="Inline" AutoGenerateColumns="False".
  3. Define at least two columns for the data source properties.
  4. Set the first column attribute UserCanEdit="False".
  5. 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

Example

@vvgeorgiev
Copy link
Collaborator

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

@davidknaack
Copy link
Contributor Author

Hi @vvgeorgiev, Thanks! I see this is tagged as ReadyForTest. Do I need to act on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants