ver.5.1.0 pqgrid.d.ts
interface instance{
:
Group(params?: any):{
addGroup(datIndx: numberorstring, indx?: number)
collapse(level?: number)
collapseAll(level?: number)
collapseTo(address: string)
expand(level?: number)
expandAll(level?: number)
expandTo(address: string)
removeGroup(datIndx: numberorstring)
}
groupOption(obj: any)
TypeScript failed with "Group (). Option" at first.
Therefore, when examining pqgird.d.ts
There was "groupOption", but it could not be used.
When "option" was added to "Group", it could be used without problems.
I do not know which is the correct answer, but please give me correspondence.
Rework
interface instance{
:
Group(params?: any):{
addGroup(datIndx: numberorstring, indx?: number)
collapse(level?: number)
collapseAll(level?: number)
collapseTo(address: string)
expand(level?: number)
expandAll(level?: number)
expandTo(address: string)
removeGroup(datIndx: numberorstring)
option(obj: any)
}
groupOption(obj: any)