Docs
API
  • sumDisplayed

    Boolean

    If we have paging than there are 2 ways of summary rows.
    1 - on all pages
    2 - on displayed page.
    By default it summaries column on displayed page.
    To summary on all rows it requires to set sumDisplayed: false.

    Example

    
    new FancyGrid({
      ...,
      summary: {
        sumDisplayed: false
      },
      columns: [{
        ...,
    	summary: 'sum'
      },{
    

    Example: summary row position

    
    new FancyGrid({
      ...,
      summary: {
        position: 'bottom'
      },
      columns: [{
        ...,
    	summary: 'sum'
      },{
    

    Default

    
    true