html/modules/pong-table/pong-table.js
function pongListUpdateRow( divId, divs, rowDta, r, cx, i, tblDiv ) {
  log( "PoNG-List", 'upd-div row='+r+'/'+cx );
  for ( var c = 0; c < divs.length; c ++ ) {
    log( "PoNG-List", 'upd-div '+cx+'/'+c );
    if ( divs[c].cellType == 'div' ) {
      log( "PoNG-List", 'upd-div-x '+divs[c].id );
      if ( divs[c].divs ) {
        pongListUpdateRow( divId, divs[c].divs, rowDta, r, cx+c, i, tblDiv  ); 
      }      
    } else {
      var cellId = '#'+divId+'R'+i+'X'+cx+'C'+c;
      log( "PoNG-List", 'upd-div-n '+cellId );
      var dtaArr = poTbl[ tblDiv ].pongTableData;
      var rowIdVal =  dtaArr[r][ poTbl[ tblDiv ].pongTableDef.rowId ];
      tblUpdateCell( divId, divs[c], r, c, i, rowDta, cellId, rowIdVal, tblDiv );
   }
  }
}
function pongListUpdateRow( divId, divs, rowDta, r, cx, i, tblDiv ) {
  log( "PoNG-List", 'upd-div row='+r+'/'+cx );
  for ( var c = 0; c < divs.length; c ++ ) {
    log( "PoNG-List", 'upd-div '+cx+'/'+c );
    if ( divs[c].cellType == 'div' ) {
      log( "PoNG-List", 'upd-div-x '+divs[c].id );
      if ( divs[c].divs ) {
        pongListUpdateRow( divId, divs[c].divs, rowDta, r, cx+c, i, tblDiv  ); 
      }      
    } else {
      var cellId = '#'+divId+'R'+i+'X'+cx+'C'+c;
      log( "PoNG-List", 'upd-div-n '+cellId );
      var dtaArr = poTbl[ tblDiv ].pongTableData;
      var rowIdVal =  dtaArr[r][ poTbl[ tblDiv ].pongTableDef.rowId ];
      tblUpdateCell( divId, divs[c], r, c, i, rowDta, cellId, rowIdVal, tblDiv );
   }
  }
}
function pongListUpdateRow ( divId , divs , rowDta , r , cx , i , tblDiv ) { log ( "PoNG-List" , 'upd-div row=' + r + '/' + cx ) ; for ( var c = 0 ; c < divs . length ; c ++ ) { log ( "PoNG-List" , 'upd-div ' + cx + '/' + c ) ; if ( divs [ c ] . cellType == 'div' ) { log ( "PoNG-List" , 'upd-div-x ' + divs [ c ] . id ) ; if ( divs [ c ] . divs ) { pongListUpdateRow ( divId , divs [ c ] . divs , rowDta , r , cx + c , i , tblDiv ) ; } } else { var cellId = '#' + divId + 'R' + i + 'X' + cx + 'C' + c ; log ( "PoNG-List" , 'upd-div-n ' + cellId ) ; var dtaArr = poTbl [ tblDiv ] . pongTableData ; var rowIdVal = dtaArr [ r ] [ poTbl [ tblDiv ] . pongTableDef . rowId ] ; tblUpdateCell ( divId , divs [ c ] , r , c , i , rowDta , cellId , rowIdVal , tblDiv ) ; } } }
fill recursively empty cells of one row with data
fill recursively empty cells of one row with data