Performance issue while publishing data on screen

I’m retrieving around 70k of records from SQL Server DB and showing on UI as Client wants to try and find the one item he/she is interested in? Currently it’s taking around 60-70 seconds to publish data on screen though my function is being executed in fews seconds only, say 10-15 secs. How can I […]

By Kevin
Published
Categorized as angular, java, mysql Tagged , ,

Animate button click during http call with angular

I have a button to refresh data on a page, which is simply doing an http call to a backend. It works fine but I’m trying to add a CSS3 animation to make it rotate while the http call is going on in the background, to make it obvious that something is happening. <button class="btn […]

By Kevin
Published
Categorized as angular Tagged

How to open window with dummy URL and html content in Angular?

Wanted to show HTML content in the new window I am able to do that with the below code showPreviewInNewWindow(data){ var newWindow = window.open(); newWindow.document.body.innerHTML= data; newWindow.document.title =’Preview Page’; } It’s working perfectly fine but its showing about:blank URL and I wanted to show dummy URL instead of about:blank Please Help !! Source: Angular Questions

By Kevin
Published
Categorized as angular, angular8, javascript, window.open Tagged , , ,

Filter button taking time when clicking manually but working fast in default mode

There’s an option on my website to see all task execution history. I’ve added two radio buttons to filter data based on days 1.Last 90 days 2.All Data. I’ve used angular in frontend and Java in backend and Rest API. I’m passing parameters from frontend via Rest API and based on the parameters I’m sending […]

By Kevin
Published
Categorized as angular, filter, java Tagged , ,

Filter button taking time in later API calls but working fast in First API call i.e. in default mode(Angular8+Java)

There’s an option on my website to see all task execution history. I’ve added two radio buttons to filter data based on days 1.Last 90 days 2.All Data. I’ve used angular8 in frontend and Java in backend and Rest API. I’m passing parameters from frontend via Rest API and based on the parameters I’m sending […]

By Kevin
Published
Categorized as angular, angular8, filter, java Tagged , , ,

I get security vulnerabilities when I started to install npm packages

Helo guys. I’m get this message: High Command Injection Package lodash Patched in >=4.17.21 Dependency of @tomtom-international/web-sdk-maps Path @tomtom-international/web-sdk-maps > lodash More info https://npmjs.com/advisories/1673 Moderate Regular expression denial of service Package glob-parent Patched in >=5.1.2 Dependency of @angular-devkit/build-angular [dev] Path @angular-devkit/build-angular > webpack-dev-server > chokidar > glob-parent More info https://npmjs.com/advisories/1751 I’m use: Angular CLI: 12.1.3 […]

By Kevin
Published
Categorized as angular, tomtom, tomtom-android-sdk Tagged , ,

Angular Slickgrid filtering on multiple columns

Is there a way to filter on multiple columns with angular-slickgrid ? I have columns showing the same information in different regions, and I’d like the user to be able to use one filter to get any row matching regardless of which region (column) matches. Thanks Source: Angular Questions

By Kevin
Published
Categorized as angular, angular-slickgrid Tagged ,

Typescript – How to set the value of an object key in a Map

I have a Map which takes a Lecture as Key and an Array of Todos as value. lecturesWithTodos: Map<Lecture, Todos[]> = new Map<Lecture, Todos[]>(); Now I first set the key of this Map without any value (because I get the Todos later). student.semester.lectures.forEach((lecture) => { this.lecturesWithTodos.set(lecture, []); }); Now I just would like to set […]

By Kevin
Published
Categorized as angular, dictionary, key, set, typescript Tagged , , , ,

angular msal v2 missing group claims

I’m looking to upgrade my angular app from MSAL v1 to MSAL v2, and one problem I have is the jwt token that the guard adds to requests does not include the group field in the payload anymore. We use group membership to decide who can access what so this is a big blocker of […]

By Kevin
Published
Categorized as angular, msal-angular Tagged ,

Spring RequestParam with angular number format Cors error

So i am trying to make a post request to this endpoint with 2 paramerers as numbers…i get the parameters corectly.. when is posted i get Access to XMLHttpRequest at ‘http://localhost:8080/api/user/addCartItem’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on […]

By Kevin
Published
Categorized as angular, java, spring, typescript Tagged , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq