”@

Home 

2014/10/16 ¤W¤Č 12:06:47

jquery Programming Glossary: r1c1colspan

Large dynamically sized html table with a fixed scroll row and fixed scroll column

http://stackoverflow.com/questions/10838700/large-dynamically-sized-html-table-with-a-fixed-scroll-row-and-fixed-scroll-colu

width 95 table ' get row 1 and clone it for creating sub tables var row1 this.find 'tr' .slice 0 o.fRows .clone var r1c1ColSpan 0 for var i 0 i o.fCols i r1c1ColSpan this 0 .rows 0 .cells i .colSpan create table with just r1c1 which is fixed for.. it for creating sub tables var row1 this.find 'tr' .slice 0 o.fRows .clone var r1c1ColSpan 0 for var i 0 i o.fCols i r1c1ColSpan this 0 .rows 0 .cells i .colSpan create table with just r1c1 which is fixed for both scrolls var tr1c1 origTableTmpl row1.each.. tr1c1 origTableTmpl row1.each function var tdct 0 this .find 'td' .filter function tdct this.colSpan return tdct r1c1ColSpan .remove row1.appendTo tr1c1 tr1c1.wrap ' div class fixedTB ' tr1c1.parent .prependTo this.closest '.relativeContainer'..