Scroll problem with hight row

hello,

this is the first time for me.
i've wrote this simple application and it's very important have a good scrolling work on it.

I've implemented this on resize window event.




I can't choose #n of rows to display on a single page... and rendering cuts last row. It's a very frustrating problem



13 Replies 1 reply marked as answer

AD Alessandro Degola June 10, 2020 06:52 AM UTC

Initing settings



MP Manivannan Padmanaban Syncfusion Team June 11, 2020 11:30 AM UTC

Hi Alessandro, 

Greetings from Syncfusion Support. 

From the shared query, we are able to understand you are facing an issue with grid responsive. To avoid the issue we suggest you to ensure the following details. 
  1. Ensure whether are you referred responsive and ejgrid responsive css. If not, refer the below css.

<head> 
    ………………. 
   <link rel='nofollow' href="//cdn.syncfusion.com/18.1.0.42/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" /> 
    <link rel='nofollow' href="https://cdn.syncfusion.com/18.1.0.42/js/web/responsive-css/ej.responsive.css" rel="stylesheet" /> 
    <link rel='nofollow' href="https://cdn.syncfusion.com/18.1.0.42/js/web/responsive-css/ejgrid.responsive.css" rel="stylesheet" /> 
……………….. 
</head> 

After referred above css files, by default grid will be responsive on browser resize. And still facing an issue, we suggest you to call windononresize method on browser resize event(i.e. resizeGrid function in your example).  

Also, refer the below help documentation links. 

Still facing an issue, please get back to us with the below details. 
  1. Share the complete grid code example.
  2. Share the video demonstration of the issue.

Provided details will help us, to resolve the reported issue as early as possible. 

Regards, 
Manivannan Padmanaban 




Marked as answer

AD Alessandro Degola June 11, 2020 04:59 PM UTC

Hi, 

Thanks for your quick reply so I've modified the code as your advice.
I still have a problem with the number of displayed rows

video

.cshtml code
https://we.tl/t-ipcn0Q6L9G

regards
alessandro





MP Manivannan Padmanaban Syncfusion Team June 12, 2020 12:13 PM UTC

Hi Alessandro, 

Thanks for the details. 

We are unable to reproduce the reported issue as our end. For your convenience we have created the sample, based on the shared code example. Refer to the below link, 

After referred the above sample, still facing an issue. Please get back to us, with the below details. 
  1. Share the Essential Studio version detail.
  2. Reproduce the issue in the shared sample Or share the issue reproducible sample.

Regards, 
Manivannan Padmanaban 



AD Alessandro Degola June 13, 2020 09:00 AM UTC


the problem appears only when I insert the images





AD Alessandro Degola June 14, 2020 05:28 AM UTC


The only "not so elegant" but "smart" solution is call on actionComplete event the refreshContent()... In order to avoid loop I'm using ToDo flag.
I'll post a little video to show the solution result.

regards
ale





MP Manivannan Padmanaban Syncfusion Team June 15, 2020 01:31 PM UTC

Hi Alessandro, 

Thanks for the details. 

We have prepared the sample with image column in the mentioned version, but still we are unable to reproduced the mentioned issue at our end. Refer to the below sample link below, 

After referred the above sample, still facing an issue. Please get back to us, with below details. 
  1. Reproduce the issue in the shared sample Or share the issue reproducible sample.
  2. Share the grid model. By referring the below steps.
  1. Refer the below screenshot,
                         
  1. Copy the models and paste it in note pad and share to us.
 

Regards, 
Manivannan Padmanaban 




AD Alessandro Degola June 15, 2020 05:02 PM UTC



AD Alessandro Degola June 15, 2020 05:58 PM UTC

I can't execute your sample... I don't know why


MP Manivannan Padmanaban Syncfusion Team June 16, 2020 06:05 AM UTC

Hi Alessandro, 

We have already discussed the same in the below knowledge base help documentation link, 

Kindly resolve the reported error, based on above KB and check whether are you able to reproduce the reported issue in the shared sample. If not, please reproduce the issue in the shared sample Or share the issue reproducible sample. 

Regards, 
Manivannan Padmanaban 





AD Alessandro Degola June 16, 2020 09:46 AM UTC

sample works properly... or at least starts with no error.

i've done the same at my project and now...



AD Alessandro Degola June 16, 2020 05:39 PM UTC

Hi,

I have performed a deep cleaning of any references, after I've reinstalled with nuget and now rendering works perfect.
I still have problems with width column persistence. After reloading page, grid is shown as "new"... but for this I'll opening another ticket.

you are the best!
alessandro



MP Manivannan Padmanaban Syncfusion Team June 17, 2020 03:34 AM UTC

Hi Alessandro, 

Thanks for the update. 

We are happy to hear that the reported issue has been resolved.  

Regards, 
Manivannan Padmanaban 


Loader.
Up arrow icon