Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid Summary

    Hi,

    I have a listGrid with a few rows. One of the columns is a money ($) amount. That column has
    been set to my special 'money' type FieldType in the backing data source. I also have a summary
    row at the bottom of the ListGrid, but I'd like to have that summary value expressed as a %
    with some custom calculating that I've implemented in the summaryFunction.

    How can I specify the 'type' attribute for that column to be $ (as I do today) but have percent (%) values
    displayed in the summary row only. I typically rely on the 'type' attribute to achieve this, but since
    the data is $ and the summary is %, I don't see how I can make this happen.

    What happens now is that everything gets output with money type.

    Thanks for any insight,

    #2
    Anyone has any suggestions for this ?

    Thanks,

    Comment


      #3
      If we understand you correctly you have a custom formatter on the field which formats you numeric data as a currency (so 20 becomes $20.00 or similar), but you don't want this formatting applied to the summary row.
      If so you can specify a separate custom formatter for the grid summary via the formatGridSummary method on the field.

      Let us know if that doesn't resolve this for you
      Thanks
      Isomorphic Software

      Comment


        #4
        Thanks, All good !

        Comment

        Working...
        X