diff --git a/docs/example-widget-math.html b/docs/example-widget-math.html index 27f49476..d6c9673f 100644 --- a/docs/example-widget-math.html +++ b/docs/example-widget-math.html @@ -114,6 +114,8 @@ // called after all math calculations have completed console.log( 'math calculations complete', c.$table.find('[data-math="all-sum"]:first').text() ); }, + // cell data-attribute containing the math value to use (added v2.31.1) + math_textAttr : '', // see "Mask Examples" section math_mask : '#,##0.00', math_prefix : '', // custom string added before the math_mask value (usually HTML) @@ -196,6 +198,7 @@
math_textAttr
.math_prefix
and math_suffix
options. See issue #1305.''
textAttribute
value when the textExtraction
option is set to "basic" (v2.31.1).
+ // Include the "data-" prefix in the option +math_textAttr : 'data-math-value'+
<td data-math-value="1000">1.0k</td>+
'recalculate'