Grid Exception

Hi,

i use your controls in the mode where i manually load the dependencies (services.AddSyncfusionBlazor(true); And i have references the right version of the cdn js file.

When i now try to change the filter in the grid:
public void ToggleFilter()
{
if (_currentFilterType == FilterType.Excel)
_currentFilterType = FilterType.FilterBar;
else
_currentFilterType = FilterType.Excel;
}

<GridFilterSettings Type="@_currentFilterType">
<GridFilterColumns>
@if (GridStateData != null && GridStateData.Filter != null)
{
foreach (var filterState in GridStateData.Filter)
{
<GridFilterColumn Field="@filterState.Field" MatchCase="@filterState.MatchCase" Operator="@filterState.Operator" Predicate="@filterState.Predicate" Value="@filterState.Value"></GridFilterColumn>
}
}
</GridFilterColumns>
</GridFilterSettings>

The exception is thrown. If i change to lazy loading the depencies, it is working. Lazy loading is unfortunatly no option for us.
Do you have a hint for me?



3 Replies

VN Vignesh Natarajan Syncfusion Team April 23, 2020 11:54 AM UTC

Hi Nils,  
 
Greetings from Syncfusion support.  
 
Query:” The exception is thrown. If i change to lazy loading the depencies, it is working. Lazy loading is unfortunatly no option for us 
 
We have validated the reported issue and we are able to reproduce the reported issue at out end too while preparing a sample as per your suggestion. Now we have fixed the reported issue at our end. So kindly validate the reported issue at your end by clearing the browser cache. For your convenience we have prepared a sample using our latest version (18.1.0.45) . Kindly download the sample from below  
 
 
Kindly get back to us if you have further queries.  
 
Regards, 
Vignesh Natarajan 



UN Unknown April 23, 2020 12:03 PM UTC

Hi,

yeah, thank you! Works!


VN Vignesh Natarajan Syncfusion Team April 24, 2020 04:18 AM UTC

Hi Nils,  

Thanks for the update.  

We are glad to hear that we have resolved your query.  

Kindly get back to us if you have further queries. 

Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon