ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Digitalsoft on May 20, 2020, 06:57:23 pm

Title: Util function-toLetter is not available in Angular TS declaration file
Post by: Digitalsoft on May 20, 2020, 06:57:23 pm
Team, We have observed that toLetter util function is not available in TS declaration file and editor gives compilation error.
Do we have updated declaration file which can be used. Thanks!
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: paramvir on May 21, 2020, 05:10:28 pm
Thanks for pointing it out. ETA for next version is next week and toLetter definition would be added in it.

For now you can add it manually by editing pqgrid.d.ts file and adding

Code: [Select]
function toLetter(indx: number): string

at around line 1500 near declaration of function formatNumber.
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: Digitalsoft on May 21, 2020, 07:45:04 pm
Thanks for adding it. Yes, we have added in pqgrid.d.ts file as workaround solution and it works!
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: Digitalsoft on May 22, 2020, 02:16:06 pm
Team, Adding to the above point, we have observed that oldList property of getChanges function also not available in declaration types.
It would be great if you can add that one as well. Thanks!
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: paramvir on May 25, 2020, 09:50:48 am
Noted, thanks
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: Digitalsoft on May 27, 2020, 05:34:55 pm
thanks, just observed and adding one more in above list.
cut() method is not available in grid instance of declaration file.
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: paramvir on May 27, 2020, 09:09:40 pm
cut is a method of Range object

https://paramquery.com/pro/api#method-Range
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: Digitalsoft on June 24, 2020, 10:56:52 am
Team, one more has come up in today's work that beforeTreeExpand() event is not available in grid options of declaration file.
It would be great if you can add this one in upcoming version. Thanks!
Title: Re: Util function-toLetter is not available in Angular TS declaration file
Post by: paramvir on June 24, 2020, 01:04:17 pm
Noted.