NG Grid scrolling issue

Forum to discuss the new web client version of Servoy.

NG Grid scrolling issue

Postby Richard1521662995 » Thu Nov 18, 2021 6:20 pm

Hi

Just upgraded Servoy to v2021.9 and upgraded components via SPM.

Have upgraded a customer's system and when you scroll in the agggrid-groupingtable when you try and scroll past the second page of results the loading message appears, the grid clears and no more data is displayed. In the server log

Uncaught TypeError: Cannot read properties of null (reading 'length')
aggrid/groupingtable/groupingtable.js:1463:44
TypeError: Cannot read properties of null (reading 'length')

Customer is running Windows and using Chrome, if they Edge then everything works.

Have tried different Windows browsers on our demo server and Chrome works, but others don't. A colleague tried from a MAC on our demo server and all browsers worked.

I'm struggling to work out why some browsers don't work on one PC, but work on another PC.

Any suggestions gratefully received!

Richard
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 39
Joined: Wed Mar 21, 2018 10:09 pm

Re: NG Grid scrolling issue

Postby Richard1521662995 » Thu Nov 18, 2021 8:15 pm

Problem solved.

in NG Client settings
servoy.ngclient.enableWebResourceOptimizer: was set to false, setting to true looks to have fixed the problem.

Still baffled why the same browser behaved differently on different PC's though.
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 39
Joined: Wed Mar 21, 2018 10:09 pm

Re: NG Grid scrolling issue

Postby Gabi Boros » Fri Nov 19, 2021 9:56 am

setting servoy.ngclient.enableWebResourceOptimizer should not change the app behavior, that is mainly to reduce the size of the web resources (compress js files) - if you can still reproduce the problem,
it would be helpful to have a case created, maybe also with the solution if it is possible; also, you should check the logs, if there are errors before this one
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: NG Grid scrolling issue

Postby Richard1521662995 » Fri Nov 19, 2021 3:01 pm

I had to change the setting originally to get Servoy PDF Viewer to display the PDF. Now the PDF Viewer is behaving in the same way as the NG Grid in that it will work in Chrome but not Edge on one PC, Edge and not Chrome on another and not in either on another PC.

Maybe there is another setting on the Servoy Admin page or the browser?

Can replicate the NG Grid problem, so will create a case.
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 39
Joined: Wed Mar 21, 2018 10:09 pm

Re: NG Grid scrolling issue

Postby Richard1521662995 » Mon Nov 22, 2021 6:59 pm

Have reverted NG Grids back to v2.8.0 which looks to have fixed the scrolling problem.
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 39
Joined: Wed Mar 21, 2018 10:09 pm

Re: NG Grid scrolling issue

Postby Richard1521662995 » Mon Nov 29, 2021 12:03 pm

Hi,

This looks to be have been a problem with the war file I created. Have rebuilt the war file and all seems to be OK at the moment
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 39
Joined: Wed Mar 21, 2018 10:09 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 8 guests

cron