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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grids stick together with different selectors on the same page

Thread ID:

Created:

Updated:

Platform:

Replies:

149692 Dec 5,2019 01:48 PM UTC Dec 6,2019 11:18 AM UTC Blazor 1
loading
Tags: Grid
Iaroslav Kirilishen
Asked On December 5, 2019 01:48 PM UTC

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?


Renjith Singh Rajendran [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon