CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • What is "grouping=>contact-fields"?
Pages: [1]

Author Topic: What is "grouping=>contact-fields"?  (Read 1587 times)

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
What is "grouping=>contact-fields"?
September 05, 2009, 10:00:45 am
In the report definition php programs, there is a parameter "grouping=>contact-fields".  Would someone care to explain what it is and how to use it?

Thanks!
« Last Edit: September 05, 2009, 08:50:01 pm by eggtart »

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: What is "grouping=>contact-fields"?
September 07, 2009, 12:15:17 am
So if you look at "Donor Report (Summary) - Template/Report" for example, In "Display Columns" of "Report Criteria" section, you would notice that there are two sections/groupings in which those checkboxes appear -
One section/grouping of fields consists of contact, email, phone and address fields.
And second of contribution fields.

By default a grouping is created for every table. If we hadn't set 'grouping' in above case, contact, email, phone & address fields would all appear in a separate table.

In "grouping =>  contact-fields", 'contact-fields' is just a label. And all the fields of tables/daos with same grouping label are clubbed together, in a single table layout structure. 
« Last Edit: September 07, 2009, 12:21:05 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: What is "grouping=>contact-fields"?
September 07, 2009, 12:31:46 am
Thanks for the detail explanation.  All clear now.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • What is "grouping=>contact-fields"?

This forum was archived on 2017-11-26.