Recent

Author Topic: Footer Sum Grid  (Read 5970 times)

onlyhasbi

  • New member
  • *
  • Posts: 9
Footer Sum Grid
« on: October 28, 2016, 03:35:39 pm »
Any advice give a grid a footer for sum ing the field ? thanks  :D

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Footer Sum Grid
« Reply #1 on: October 28, 2016, 03:59:33 pm »
Is this a TStringGrid or a TDBGrid or something else?

onlyhasbi

  • New member
  • *
  • Posts: 9
Re: Footer Sum Grid
« Reply #2 on: October 28, 2016, 04:27:04 pm »
Oo... in delphi there is ehlib, any in lazarus ? or just coding it manuals

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Footer Sum Grid
« Reply #3 on: October 28, 2016, 04:33:18 pm »
Doesn't the rx library have a footer for a grid?

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Footer Sum Grid
« Reply #4 on: October 28, 2016, 05:09:59 pm »
Any advice give a grid a footer for sum ing the field ? thanks  :D
You can take a look at NiceGrid (http://www.priyatna.org) which is a VCL component, and is easy to port. I don't know if there is a LCL version already, but there is a fpGUI version included in the fpGUI repository (extras/contributed/nicegrid/). Attached is a screenshot - showing footers, spanned group headers, merged multi-line headers, cell selection etc.

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

JZS

  • Full Member
  • ***
  • Posts: 194
Re: Footer Sum Grid
« Reply #5 on: September 20, 2017, 03:16:13 am »
Old post I know...

For the benefit of future visitors, like me once, was looking for StringGrid with footer, (although it has a small issue when I tried on Win7).

Lazarus ported component by leledumbo.
https://bitbucket.org/leledumbo/priyatna.org/downloads/

Thanks leledumbo.
« Last Edit: September 20, 2017, 04:06:03 am by JZS »
I use recent stable release

 

TinyPortal © 2005-2018