daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.fn.treeTable = function(opts) {
  2.     options = $.extend({}, $.fn.treeTable.defaults, opts);
  3.  
  4.     return this.each(function() {
  5.         $(this).addClass("treeTable").find("tbody tr").each(function() {
  6.             // Initialize root nodes only whenever possible
  7.             if (!options.expandable || $(this)[0].className.search("child-of-") == -1) {
  8.                 initialize($(this));
  9.             }
  10.         });
  11.     });
  12. };
  13.    
  14. $(document).ready(function() {
  15.    $(".reportTable").treeTable();
  16. });
  17.    
  18. window.onload = function(){setTimeout("your_function()",0)}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top