TotalRow
class TotalRow extends AbstractTool
Properties
| protected GridWidget | $grid | from AbstractTool | |
| protected bool | $disabled | from AbstractTool | |
| protected Builder | $query | ||
| protected array | $columns | ||
| protected Collection | $visibleColumns | 
Methods
                    __construct(Builder $query, array $columns)
        
                                            
                
            TotalRow constructor.
                    mixed
                
                
                    total(string $column, mixed $display = null)
        
                                            
                
            Get total value of current column.
                    setVisibleColumns(Collection $columns)
        
                                            
                
            No description
                    Collection|TotalRow
                
                
                    getVisibleColumns()
        
                                            
                
            No description
                    Factory|View
                
                
                    render()
        
                                            
                
            Render total-row.
Details
        in 
AbstractTool at line 26
                            $this
    disable(bool $disable = true)
        
    
    Toggle this button.
        in 
AbstractTool at line 36
                            
    allowed()
        
    
    If the tool is allowed.
        in 
AbstractTool at line 48
                            $this
    setGrid(GridWidget $grid)
        
    
    Set parent grid.
        in 
AbstractTool at line 58
                            GridWidget
    getGrid()
        
    
    No description
        in 
AbstractTool at line 66
                            string
    __toString()
        
    
    No description
        at line 34
                            
    __construct(Builder $query, array $columns)
        
    
    TotalRow constructor.
        at line 49
                    protected        mixed
    total(string $column, mixed $display = null)
        
    
    Get total value of current column.
        at line 67
                            
    setVisibleColumns(Collection $columns)
        
    
    No description
        at line 75
                            Collection|TotalRow
    getVisibleColumns()
        
    
    No description
        at line 89
                            Factory|View
    render()
        
    
    Render total-row.