Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

I have this:

Snippet
<SfGrid DataSource="@View.TemplateDetailList" AllowPaging="true">
	<GridPageSettings PageCount="5"></GridPageSettings>
	<GridColumns>
		<GridColumn Field=@nameof(View.TemplateDetail.ColumnNameHeaderText="Column Name" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Left" Width="120"></GridColumn>
		<GridColumn Field=@nameof(View.TemplateDetail.TemplateColumnType.DescriptionHeaderText="Type" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Left" Width="120"></GridColumn>
	</GridColumns>
</SfGrid>

My query for the datasource is :

exec sp_executesql N'SELECT [t].[ColumnName], [t].[PropertyName], [t0].[TemplateColumnTypeIdent], [t0].[Description], [t0].[TypeCode], [t0].[TypeName]

FROM [dbo].[TemplateDetail] AS [t]

INNER JOIN [dbo].[TemplateColumnType] AS [t0] ON [t].[TemplateColumnTypeIdent] = [t0].[TemplateColumnTypeIdent]

WHERE [t].[TemplateMasterIdent] = @__value_0

ORDER BY [t].[SortSequence]',N'@__value_0 int',@__value_0=1

go

But, I get a null exception. If I comment out the second column then it works. 

View.TemplateDetail.TemplateColumnType.Description does contain data.


Can you help me with this?