Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/9c86c0bc202bfb34#

Currently we have automatic grid totals calculation functionality. To
activate it you need:   -

  • totals_render_as="grid_total_row" parameter in "m_RenderElement" tag,

...

  • that renders "grid" block

...

  • add "totals" key (possible values are SUM, COUNT, AVG or any MySQL

...

  • aggregate function) in field declaration in "Fields" property in unit config

Such approach works, but won't allow to have different totals function based
on place, where grid is used or special-based.

I propose to move "totals" option to field declaration in grid definition
part, where "filter_block" is defined. 

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-

Best Regards,
http://www.in-portal.com
http://www.alex-time.com
3313-9d9f-704c39b1f915
keyINP-647