Is it possible to have the main category listing in a single column layout but any subcategories list in grid layout - says 3 columns

If you change category row - from 1 to 3 it affects all categories and subcategories