Master Detail Grid: Query for datagrid causes error -

I have a master detail grid.  The master grid shows a list of Employees.  I would like the detail grid to only show the details for that employee.  I applied the query below to the detail grid:

     this.DetailGridQuery = new Query().Where(nameof(EmployeeTraining.EmployeeId), "equal", SelectedEmployee.Id);

It throws the following exception:



Attachment: SFGrid_c933ff39.zip

9 Replies

JP Jeevakanth Palaniappan Syncfusion Team October 6, 2021 12:14 PM UTC

Hi Scot, 
 
Greetings from Syncfusion support. 
 
We have checked your query and we found that you want to render master detail grid. We already have a demo sample for master detail grid. Kindly refer the below online demo link to achieve your requirement. 
 
 
Get back to us if you have any other queries. 
 
Regards, 
Jeevakanth SP. 



SW Scot Woodyard replied to Jeevakanth Palaniappan October 6, 2021 09:46 PM UTC

Thank you for your response.  I've reviewed both examples, but they do not address my issue.  Please revisit my original request - it's either a bug or an implementation error on my part.



JP Jeevakanth Palaniappan Syncfusion Team October 7, 2021 03:10 PM UTC

Hi Scot, 

We have previously shared the working example demo for Master Detail grid. Incase if the example provided is not helpful to resolve your issue then we are currently analyzing your shared code and trying to reproduce the reported problem from our end. We will update the further details in two business days. Until then we appreciate your patience. 

Regards, 
Jeevakanth SP. 



JP Jeevakanth Palaniappan Syncfusion Team October 11, 2021 01:47 PM UTC

Hi Scot, 

Thanks for your patience. 

We have prepared a sample based on the shared code but unfortunately we are unable to reproduce the reported problem from our end. Please find the validated sample and the video demo for your reference. 


If you are still facing the problem then kindly share us the below details, 

  1. Share us the Syncfusion NuGet version details.
  2. Does the issue throws at initial rendering or while performing any grid actions?
  3. Share us the video demo showing the reported problem.
  4. Share us the runnable issue reproducing sample or reproduce the reported problem in the above provided sample.

The above requested details will be helpful for us to validate your query and to provide you with a better solution as early as possible. 

Regards, 
Jeevakanth SP. 



SW Scot Woodyard October 12, 2021 10:20 PM UTC

The Query is still throwing the error.  Attached is a fully functioning example and a video.


Attachment: Untitled_Project_f4d00739.zip


JP Jeevakanth Palaniappan Syncfusion Team October 13, 2021 01:36 PM UTC

Hi Scot, 
 
Thanks for sharing the runnable sample. We are able to reproduce the reported problem in the provided sample. Currently we are validating the problem and so we will update the further details in two business days. Until then we appreciate your patience. 
 
Regards, 
Jeevakanth SP. 



JP Jeevakanth Palaniappan Syncfusion Team October 15, 2021 09:00 AM UTC

Hi Scot, 

Thanks for your patience. 

We have validated the reported problem and logged the defect report “Null exception throws when changing Query property with Where clause” for the same. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle) and including the defect fix in our weekly release which is expected to be rolled out by the end of November, 2021. 
  
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.        

Regards,  
Jeevakanth SP. 



VN Vignesh Natarajan Syncfusion Team January 4, 2022 04:14 AM UTC

Hi Scot,   

Sorry for the inconvenience caused.   

Due to unforeseen circumstances, we are unable to include the fix for the reported issue “Null exception throws when changing Query property with Where clause”  in our weekly patch release as promised. Fix for issue will be included in our weekly patch release which is excepted to be rolled out by end of January 2022  


Till then we appreciate your patience.    

Regards,  
Vignesh Natarajan  
 



VN Vignesh Natarajan Syncfusion Team February 1, 2022 02:25 PM UTC

Hi Scot,  
 
We are glad to announce that, we have resolved the reported issue “Null exception throws when changing Query property with Where clause”.  So please upgrade to our latest version of Syncfusion package to resolve the reported issue. Please find the Nuget package for latest fixes and features from below.  

 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.   
    
Regards,              
Vignesh Natarajan 


Loader.
Up arrow icon