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 Grid (free version)
»
how to get data of summaryData
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to get data of summaryData (Read 2109 times)
Anthony Kim
Pro Deluxe
Newbie
Posts: 6
how to get data of summaryData
«
on:
May 03, 2020, 08:59:59 pm »
hi
how to get data of summaryData?
summaryData: [{
//type: 'Total',
summaryRow: true,
pq_fn: {
stock: 'sum(F:F)',
quantity: 'sum(G:G)'
}
}],
I want to get data of stock and quantity from grid.
thanks
Logged
paramvir
Administrator
Hero Member
Posts: 6318
Re: how to get data of summaryData
«
Reply #1 on:
May 04, 2020, 09:21:26 am »
summaryData can be get as
Code:
[Select]
var data = grid.option( 'summaryData' ),
stock = data.stock, quantity = data.quantity;
Logged
Anthony Kim
Pro Deluxe
Newbie
Posts: 6
Re: how to get data of summaryData
«
Reply #2 on:
May 04, 2020, 01:52:34 pm »
thanks your reply,
but,
resuts are 'undefined'
thanks
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Grid (free version)
»
how to get data of summaryData