iterates over all visible columns in the table

void eachColumn(function handler, [boolean all] );
handlerfunctionthe handler function
allbooleanif true, hidden columns are included into a loop


    function(columnId, columnConfig) {
        console.log(dtable.getColumnIndex(columnId), columnConfig)

  • The handler function takes the column ID and column config as parameters.
  • The order of iteration is the current columns order.
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of datagrid javascript product.