How to use setColumnsVisibility() function in the grid?

I need to hide a few columns in a grid. Currently, I am using the setColumnHidden() function multiple times to hide each column one by one. Can I use the function ‘setColumnsVisibility()’ listed in the API to hide multiple columns in one call? What are the parameters required by this function? We have the Professional edition of the product but the JavaScript (dhtmlxgrid.js) does not even have the code for this function. How can we use it?

listed in the API to hide multiple columns in one call?
sure, actually it is a wrapper for setColHidden

instead of
    grid.setColumnHidden(0,true);
    grid.setColumnHidden(1,false);
    grid.setColumnHidden(2,false);
    grid.setColumnHidden(3,true);

you can use

    grid.setColumnsVisibility(true,false,false,true);

>>does not even have the code for this function
Which version of dhtmlxgrid are you using ? This method was introduced in dhtmlxgrid 1.5, in case of dhtmlxgrid 1.4 you can use setColHidden which works the same