ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Hidehiro Ishii on December 11, 2017, 11:30:02 am

Title: Can I insert a indent without a top of grouping name ?
Post by: Hidehiro Ishii on December 11, 2017, 11:30:02 am
Hi Team,

Can I insert a indent without a top of grouping name like as an attached files ?

Regards,
Koichi
Title: Re: Can I insert a indent without a top of grouping name ?
Post by: paramvir on December 11, 2017, 11:25:09 pm
Add this to grid initialization object.

Code: [Select]
columnTemplate: {
render: function(ui){
if( !ui.rowData.pq_gtitle && ui.colIndx < this.option('groupModel.dataIndx').length ){
return "<p style='text-indent:20px;'>"+ui.cellData+"</p>";
}
}
},
Title: Re: Can I insert a indent without a top of grouping name ?
Post by: Hidehiro Ishii on December 12, 2017, 07:57:48 am
Hi Team,

Thank you for your quick response.
I have tried your code and it works good!
Please close this case.

Regards,
Koichi