After remove of rows you must rebuild the table rows. Example of coding:
/* * Restructure la table rows aprs suppression des lignes T BRETAGNE Oct 2003 */
this.restructRows = function() { var rows2 = new Array(); var j = 0; for (var i = 0; i < this.rows.length; i++) { row = this.rows[i]; if (row != null) { rows2[j] = row; j++;} } this.rows = rows2; }
Thank you for your tools.
Log in to post a comment.
After remove of rows you must rebuild the table rows.
Example of coding:
/*
* Restructure la table rows aprs suppression des lignes T BRETAGNE Oct 2003
*/
this.restructRows = function() {
var rows2 = new Array();
var j = 0;
for (var i = 0; i < this.rows.length; i++) {
row = this.rows[i]; if (row != null) { rows2[j] = row; j++;}
}
this.rows = rows2;
}
Thank you for your tools.