Skip to content

Commit

Permalink
Some data grid grouping demos are not editable.
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchev committed Oct 8, 2024
1 parent cdbd20b commit 4986da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RadzenBlazorDemos/Services/CompilerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public async Task<Type> CompileAsync(string source)

var csharpDocument = codeDocument.GetCSharpDocument();

var syntaxTree = CSharpSyntaxTree.ParseText(csharpDocument.GeneratedCode, CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp10));
var syntaxTree = CSharpSyntaxTree.ParseText(csharpDocument.GeneratedCode.Replace("<Radzen.Group>", "<global::Radzen.Group>"), CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp10));

compilation = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(syntaxTree);

Expand Down

0 comments on commit 4986da4

Please sign in to comment.