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
»
Checkbox column and summary row
« previous
next »
Print
Pages: [
1
]
Author
Topic: Checkbox column and summary row (Read 2473 times)
wmwa
Pro Economy
Newbie
Posts: 19
Checkbox column and summary row
«
on:
June 04, 2015, 12:38:08 am »
I specialize in strange combinations of things.
I have a grid with a checkbox column, but also a summary row like in your JSON Summary example. Is there a way to tell pqGrid not to show the checkbox in the summary row?
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: Checkbox column and summary row
«
Reply #1 on:
June 04, 2015, 03:02:25 pm »
1) Add some property to the summary rows e.g., nochk: true to distinguish them from main grid rows.
2) Implement render callback for the checkbox column.
Code:
[Select]
render: function(ui){
if ( ui.rowData.nochk ){
return "";
}
}
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Checkbox column and summary row