ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Util function-toLetter is not available in Angular TS declaration file
« previous
next »
Print
Pages: [
1
]
Author
Topic: Util function-toLetter is not available in Angular TS declaration file (Read 3453 times)
Digitalsoft
Pro OEM
Newbie
Posts: 49
Util function-toLetter is not available in Angular TS declaration file
«
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!
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #1 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.
Logged
Digitalsoft
Pro OEM
Newbie
Posts: 49
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #2 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!
Logged
Digitalsoft
Pro OEM
Newbie
Posts: 49
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #3 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!
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #4 on:
May 25, 2020, 09:50:48 am »
Noted, thanks
Logged
Digitalsoft
Pro OEM
Newbie
Posts: 49
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #5 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.
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #6 on:
May 27, 2020, 09:09:40 pm »
cut is a method of Range object
https://paramquery.com/pro/api#method-Range
Logged
Digitalsoft
Pro OEM
Newbie
Posts: 49
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #7 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!
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Util function-toLetter is not available in Angular TS declaration file
«
Reply #8 on:
June 24, 2020, 01:04:17 pm »
Noted.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Util function-toLetter is not available in Angular TS declaration file