Thank you so much for you suggestion. It helps me to implement the functionality.
Also I was trying to add some slide animation when it expand or collapse column using css property transition width for col element like transition:width .8s ease. Animation working fine on collapse but not on expand.
Do you have any suggestion on this.
Thanks again for your great help!