Author Topic: JQueryStatic paramquery is not available in Angular  (Read 1789 times)

Digitalsoft

  • Pro OEM
  • Newbie
  • *
  • Posts: 49
    • View Profile
JQueryStatic paramquery is not available in Angular
« on: May 22, 2020, 02:23:20 pm »
Team, In jQuery version of pgGrid, we change default loading message for any grid operation and get/reset using $.paramquery.pqGrid.defaults.strLoading. We have tried to do the same in Angular version but no luck. Looks like it is not globally available. Could you guide us how can we get the default strLoading option in Angular. Thank you.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: JQueryStatic paramquery is not available in Angular
« Reply #1 on: May 22, 2020, 05:06:45 pm »
Code: [Select]
import $ from 'jquery';

Code: [Select]
alert( $["paramquery"].pqGrid.defaults.strLoading );

Digitalsoft

  • Pro OEM
  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: JQueryStatic paramquery is not available in Angular
« Reply #2 on: May 26, 2020, 03:51:23 pm »
It works, thank you!