Author Topic: How to debug when using menuIcon on pqGrid?  (Read 382 times)

huong_nami

  • Newbie
  • *
  • Posts: 1
    • View Profile
How to debug when using menuIcon on pqGrid?
« on: June 22, 2023, 01:04:04 pm »
Hello all,
At now I got an issue when using option menuIcon on pqGrid.
- When I run it on local, menuUI still shows but after that it make an AJAX request like as XHR to GET path of main component and then got error 404 Not Found.
- When I deploy and run it like as server-client on ngnix, menuUI shown a short time then the main component reload and I got "error: expected to not be in angular zone, but it is!".
I have try to debug it in zone.js. But can not find anything related to this issue. Please help me!!!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to debug when using menuIcon on pqGrid?
« Reply #1 on: July 06, 2023, 03:05:55 pm »
menuUI doesn't make ajax request unless you get remote options for filtering as in this example:
https://paramquery.com/pro/demos/filter_remote_options

Please share more details or small test case as a project attachment or on stackblitz.