Hello Raman,
Please try using below code sample,
document.gridName.getGridObject().setShowColumnAsBoolean(int, boolean)
Where, "int" is your column number and "boolean" value is to set it as Boolean or not, setting it to "true" shows column with checkboxes else not.
Hope this helps!
Regards,
Adarsh