Well, that made the JS way simpler. Adds a lot of classes though. Maybe we could do it based on column index instead, but this will do for now. table.hide-col0 { td:nth-child(0) { display: none; } }