src/lib/thirdparty/filtertable.js
function getCellsNb (id,nrow) {
    let t = document.getElementById(id);
  let tr;
  if(nrow == undefined) tr = t.getElementsByTagName("tr")[0];
  else  tr = t.getElementsByTagName("tr")[nrow];
  let n = getChildElms(tr);
  return n.childNodes.length;
}
function getCellsNb (id,nrow) {
    let t = document.getElementById(id);
  let tr;
  if(nrow == undefined) tr = t.getElementsByTagName("tr")[0];
  else  tr = t.getElementsByTagName("tr")[nrow];
  let n = getChildElms(tr);
  return n.childNodes.length;
}
function getCellsNb ( id , nrow ) { let t = document . getElementById ( id ) ; let tr ; if ( nrow == undefined ) tr = t . getElementsByTagName ( "tr" ) [ 0 ] ; else tr = t . getElementsByTagName ( "tr" ) [ nrow ] ; let n = getChildElms ( tr ) ; return n . childNodes . length ; }
/*====================================================
- returns number of cells in a row
- if nrow param is passed returns number of cells
of that specific row
=====================================================
/ * ==================================================== - returns number of cells in a row - if nrow param is passed returns number of cells of that specific row =====================================================