Grid collapse and expand API: