nl_tokens: / * ==================================================== - adds a filter ( input ) for each column ( td ) - adds button on last column =====================================================
pl_tokens: function AddRow ( id , n ) { var t = document . getElementById ( id ) ; var fltrow = t . insertRow ( 0 ) ; var inpclass = "flt" ; for ( var i = 0 ; i < n ; i ++ ) { var fltcell = fltrow . insertCell ( i ) ; var inp = <mask> . createElement ( "input" ) ; inp . setAttribute ( "id" , "flt" + i + "_" + id ) ; inp . setAttribute ( "type" , "text" ) ; inp . setAttribute ( "class" , i == n - 1 ? "flt_s" : "flt" ) ; inp . setAttribute ( 'placeholder' , 'Filter' ) ; inp . addEventListener ( 'keyup' , Filter ) ; fltcell . appendChild ( inp ) ; } }