ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: JohnLee on December 01, 2020, 06:32:13 am
-
Hi..
I want to hide the group title rows that have only one data row.
Is it possible to make it?
-
dataReady: function(){
this.pageData().forEach(function(rd){
if( rd.pq_gtitle && rd.children.length==1){ //if group title row and only one child.
rd.pq_htfix = rd.pq_ht = 0.1; //assign very little height to it to effectively hide it.
}
})
},
-
It works well~~
Thank you for helping.