A JavaScript utility function that completes the function of column units with the same content in the merge form

xiaoxiao2021-03-06  60

The code is as follows: / **************************************** Name: MergetableCell function: Columns (down combined merge) Parameters (down-merge) parameters in the specific column in the merge form: Thetable: Table ID (Direct Id Id, don't use other parent limited) ColumnIndex: From zero start to merge column index * *************************************************** / Function Mergetablecell (Thetable, ColumnIndex) { Var rowcount = THTABLE.ROWS.LENGTH; var currentrow = null; var nextrow = null; var mergetag = 0; var st startmerge = 0; var backmerge = null; var iter = 0; for (var i = 0 i

) {THHETABLE.ROWS (K) .deletecell (columnIndex);}}}}}}}}}}}}}}}}}}}}}}}}}}} 很

转载请注明原文地址:https://www.9cbs.com/read-108877.html

New Post(0)