Search does not work due to multiple properties.

Hi

For example, you can write the following in the column field of the DataGrid. Let's assume that TValue is HomeClass and one of its properties is Student.
Then you can write the following to the Field of GridColumn.
"Student.Name"
However, for some reason Student may be NULL.
The DataGrid does not throw an error in this case and is user-friendly and does not display any values. This is good.

However, Search does not work in this state. Search results are the same no matter what keyword you enter.

I don't know if this should be viewed as a bug, but I'd like to ignore "Student.Name" and search for the rest.

Thanks

1 Reply 1 reply marked as answer

VN Vignesh Natarajan Syncfusion Team August 28, 2020 07:54 AM UTC

Hi Seil,  
 
Thanks for contacting Syncfusion support.  
 
Query: “However, Search does not work in this state. Search results are the same no matter what keyword you enter. 
 
We have analyzed your query and we understand that you are facing issue while searching a record with complex data. We have prepared a sample as per your suggestion and we are not able to reproduce the reported issue at our end. We are able to search records with complex data. We have prepared a  sample for your convenience which can be downloaded from below  
 
 
If you are still facing the issue, kindly et back to us with following details to validate the reported issue at our end  
 
  1. Share your Grid code example.
  2. Share details about your Model class and type of datasource.
  3. Are you facing any exception or console errors?
  4. Share your Syncfusion.Blazor Nuget package version
  5. If possible try to reproduce the reported issue in provided sample and revert back to us.
 
Above requested details will be helpful for us to validate the reported issue at our end and provide solution as early as possible.   
 
Query: “I don't know if this should be viewed as a bug, but I'd like to ignore "Student.Name" and search for the rest. 
 
We have already documented your requirement in our UG documentation. So kindly refer our UG documentation for your reference 
 

Please get back to us if you have further queries.  
 
Regards, 
Vignesh Natarajan 


Marked as answer
Loader.
Up arrow icon