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
»
summary data in Grid query for dynmic columns
« previous
next »
Print
Pages: [
1
]
Author
Topic: summary data in Grid query for dynmic columns (Read 311 times)
pranit@srcomsec
Pro Enterprise
Jr. Member
Posts: 99
summary data in Grid query for dynmic columns
«
on:
January 18, 2023, 08:21:37 pm »
We need the summary data in the grid but the column position cannot fix, I mean the dynamic column with different column index for any column in the grid.
As per your sample article below, here you set hardcode (revenues:'sum(C:C)'). We need to set "C:C" dynamically based on the column index. Please advise
https://paramquery.com/pro/demos/summary_json
Logged
pranit@srcomsec
Pro Enterprise
Jr. Member
Posts: 99
Re: summary data in Grid query for dynmic columns
«
Reply #1 on:
January 19, 2023, 01:31:24 pm »
Any update on this?
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: summary data in Grid query for dynmic columns
«
Reply #2 on:
January 19, 2023, 05:37:09 pm »
you can get the letter corresponding to column index by pq.toLetter method:
https://paramquery.com/pro/api#method-toLetter
Logged
pranit@srcomsec
Pro Enterprise
Jr. Member
Posts: 99
Re: summary data in Grid query for dynmic columns
«
Reply #3 on:
January 20, 2023, 05:40:46 pm »
Thank you. Working great!!
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
summary data in Grid query for dynmic columns