We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grids stick together with different selectors on the same page

Hello, everyone,
I have faced a quite strange scenario today.
My grids (Syncfusion.EJ2.Blazor.Grids.EjsGrid 17.3.0.18) with different selectors on the same page stick together:



after that I got the next:



In the case when I comment (remove) the first grid then the second one was moved to the right area:





It seems that something wrong with JS logic which changes DOM after the page is loaded.
Do you know about the described bug?
Have you fixe it in the latest release (above 17.3.0.18)?
Could you give me some workaround on how to fix it?


1 Reply

RS Renjith Singh Rajendran Syncfusion Team December 6, 2019 11:18 AM UTC

Hi Iaroslav, 

Thanks for contacting Syncfusion support. 

We have analyzed your requirement. And based on this, we have prepared a sample to display two grids side by side. Please download the sample from the link below, 
 
 
    <div class="control-section"> 
        <div class="content-wrapper"> 
            <div style="display: inline-block"> 
                <div id="Grid1" style="float:left;width:49%"> 
                    <EjsGrid DataSource="@Orders" AllowSelection="true" AllowPaging="true"> 
                        ... 
                   </EjsGrid> 
                </div> 
                <div id="Grid2" style="float:right;width:49%"> 
                    <EjsGrid DataSource="@Orders" AllowSelection="true" AllowPaging="true"> 
                        ... 
                   </EjsGrid> 
                </div> 
            </div> 
        </div> 
    </div> 
 
 
Please refer the screenshot below, 

 

We already have an online demo which will display two Grids side by side. Please refer the below link for the demo, 
 
Note : You need to customize your layout for page based on your requirement. 

If you are still facing difficulties, kindly share with us the following details for better assistance, 
  1. Share with us the sample which you have tried from your side.
  2. Share the customization css styles you have applied for the page to make the Grid display side by side.

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Live Chat Icon For mobile
Up arrow icon