Dropdownboxes used in filters for Detail Grids in Master-Detail Grids dont function properly

I've linked to a gif to exemplify the behavior:
https://i.imgur.com/KmFRnoN.gif

What I've deducted:
  1. If only one detail grid is opened at a time everything functions as expected.
  2. If multiple detail grids are opened and none of dropdownboxes have been clicked on prior to opening all of them, only the grid on the topmost opened row will have its dropdownboxes function properly(the order in which the detail grids are opened does not matter, the behavior stays the same).
  3. If you open a detailgrid, click on a dropdownbox to show its elements, and then you open a detail grid from a row above, the dropdownboxes from the grid above and the dropdownboxes that we previously opened will function properly. This can be chained up with multiple detail grids at a time, it is not limited only to two.

The project is made with Blazor Web Assembly .netcore 3.1/.net standard 2.1 in the Client/Server/Shared structure and using the Syncfusion.Blazor 18.2.0.54 package.
I've attached the .razor and viewmodels used in the gif.

Attachment: DetailGrids_e2cd9928.zip

3 Replies 1 reply marked as answer

VN Vignesh Natarajan Syncfusion Team August 21, 2020 06:58 AM UTC

Hi Tibi,  
 
Greetings from Syncfusion support.  
 
Query: “Dropdownboxes used in filters for Detail Grids in Master-Detail Grids dont function properly 
 
We have analyzed the reported query and we are able to reproduce the reported behavior at our end while preparing a sample using your code example. We found that you have defined the static ID property to DropDownList control in the FilterTemplate. This is cause of the issue. On opening a multiple DetailTemplate, for each Detail template Filter template will be rendered with same id. Hence issue occur on opening DropDownList simultaneously.  
 
We suggest you to overcome the reported issue by either by defining the different ID for DropDownList control or remove the ID property for DropDownList control.  
 
Please get back to us if you have further queries.     
 
Regards, 
Vignesh Natarajan 


Marked as answer

TI Tibi August 21, 2020 07:11 AM UTC

Indeed the static ID's where the issue. Once removed everything worked as expected.

Thank you very much for the help !


RS Renjith Singh Rajendran Syncfusion Team August 24, 2020 07:12 AM UTC

Hi Tibi, 

Thanks for your update. 

We are glad to hear that the provided suggestion helped you in achieving your requirement. 

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon