More templates - event sequence

Hi - After update from Syncfusion.EJ2.Blazor 17.4.0.55 -> Syncfusion.Blazor 18.1.0.45 and changing namespaces and so on, I have now a Grid render problem. 

In my grid I have 1 or 2 templates, HeaderTemplate and EditTemplate, but the GridColumns where both are present does not show on first render. After I invoke the grid, ie. edit -> cancel everything shows. 
What do I need to 
 the HeaderTemplate shows, but not on first show.  
<SfGrid >
 <GridColumns>
 <GridColumn Field=@nameof(ProductData.Product) HeaderText="Product" AllowEditing="true" 
                                                TextAlign="TextAlign.Left" Width="240">
                                        <HeaderTemplate>
                                            Product  <span class="e-search-icon e-icons" @onclick="ToggleAttentionGridSearchBar"></span>
                                        </HeaderTemplate>
                                    </GridColumn>

      <GridColumn Field=@nameof(ProductData.Supplier) HeaderText="Supplier" AllowEditing="true"    TextAlign="TextAlign.Left" Width="240">
                                                <HeaderTemplate>
                                                    <div class="rating">
                                                        Supplier   <span class="e-search-icon e-icons" @onclick="ToggleAttentionGridSearchBar" />
                                                    </div>
                                                </HeaderTemplate>
                                                <EditTemplate>
                                                    <SfAutoComplete TItem="ProductData" TValue="string" ID="Supplier" Value="@((context as ProductData).Supplier)"
                                                                    DataSource="@productDataListToEvaluate.GroupBy(o => new { o.Supplier }).Select(o => o.FirstOrDefault()).ToList()">
                                                        <AutoCompleteFieldSettings Value="Supplier"></AutoCompleteFieldSettings>
                                                    </SfAutoComplete>
                                                </EditTemplate>
                                            </GridColumn>
How can I get the header and icon to show on first render?


Attachment: GridRenderError_5bc19b42.zip

1 Reply

RN Rahul Narayanasamy Syncfusion Team April 28, 2020 02:49 PM UTC

Hi Soren,  
 
Thanks for contacting Syncfusion support.  
 
We have validated the reported problem and we are able to reproduce the reported issue in the provided sample and confirmed it as an issue. We have already considered the reported query as a bug and logged defect report “Template not rendered in initial load” for the same. Fix for the issue will be included in our upcoming patch release which is expected to be rolled out on or before 6th May 2020.   
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.     
 
 
Till then we appreciate your patience.    
 
Regards, 
Rahul 
 


Loader.
Up arrow icon