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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Allow user to sort report by clicking column headings
Pages: [1]

Author Topic: Allow user to sort report by clicking column headings  (Read 667 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Allow user to sort report by clicking column headings
June 29, 2012, 05:32:14 am
I have already created several custom reports which are working as expected.   I would like to add a feature that allows the end-user to sort the data by clicking on a column heading.   Is there a sample report that already does this? Or other docs that would help with this project?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Allow user to sort report by clicking column headings
June 29, 2012, 08:44:24 am

Would be great if you can share and publish your custom reports via an OSI approved license using the extension framework for 4.2

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

BrightBold

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: Pantheon
  • PHP version: Pantheon
Re: Allow user to sort report by clicking column headings
May 08, 2014, 09:01:00 am
I would also like to add this feature to my custom report. (Which is just the Event Attendee report modified to include some custom fields.) I was surprised the columns weren't click-sortable by default, so it would be great if there were a way to make them so. Is there a way to do this?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Allow user to sort report by clicking column headings

This forum was archived on 2017-11-26.