@ Method a : Rendering using the timing change in the corresponding data page 100 milliseconds after initialization
<Script>
the setTimeout (function () {
// ------------------------- class can be found as the sum of the line through the debug observed layui-table- total, you can choose through the DOM, we have to select the operation of the total column
var a = $ ( "div layui-the Table-total: EQ (3).") HTML ();.
// ------ be cut cut
( "." 0, a.indexOf ()) = a a.substr;
// replace the original data -----
$ ( "layui-table-total div: eq (3).") html (. A);
}, 100);
</ Script>
@ Method two : loading the data before rendering the use layui done: function () {} method
// Get the value of the second div
A $ = var (. "Table layui-TR-tbody Table TD Total: EQ (2) div") HTML ();.
A a.substring = (0, a.indexOf () ".");
// - ---- replace the original data
$ ( "layui-table-total table tbody tr td:. eq (2) div"). html (a);
html source