Author Topic: listener in server side filter execution  (Read 342 times)

[email protected]

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 62
    • View Profile
listener in server side filter execution
« on: May 03, 2022, 12:54:51 pm »

Hi Paramvir,

We implemented server-side pagination on param query as per the documentation. As per our observation, whenever we have focused on the global filter textbox, and we toggle the screens (browsers window) then, the grid sends a request to the server. If the search box doesn't have the focus then request not send to the server in save the case.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5873
    • View Profile
Re: listener in server side filter execution
« Reply #1 on: May 03, 2022, 05:15:49 pm »
[ Only Pro members may read this post. ]

[email protected]

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 62
    • View Profile
Re: listener in server side filter execution
« Reply #2 on: May 03, 2022, 07:27:31 pm »
We implemented both i.e. Server-side pagination and filtering.

The problem is when the global search box has focused and we revisit the screen one hit is going to the server.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5873
    • View Profile
Re: listener in server side filter execution
« Reply #3 on: May 04, 2022, 10:40:07 am »
[ Only Pro members may read this post. ]

[email protected]

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 62
    • View Profile
Re: listener in server side filter execution
« Reply #4 on: May 04, 2022, 12:28:01 pm »
In the given example at https://paramquery.com/pro/demos/filter

Please click on the global search textbox (just add focus)

After toggling the browser window (Alt+Tab button)

Whenever we again visit the grid example you will see the grid loader. This means the grid is loading one more time

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5873
    • View Profile
Re: listener in server side filter execution
« Reply #5 on: May 05, 2022, 09:23:54 am »
[ Only Pro members may read this post. ]