Skip to contents

Totals Row for datatables

Usage

js_op(column, operation, txt = "", signif = 3)

Arguments

column

Integer. Starting from 0, which column to operate

operation

Character. Select from sum, mean, count, custom

txt

Character. Insert text before (or instead) operation

signif

Integer. How many decimals to consider when operating

Value

Text that can be parsed as javascript.