How to compress the spring

Dear All,

I am new to Solidworks, Earlier i used Pro-E, There is a one option " Flexible" is to compress the spring in assembly condition, But in the part model it shows Full Length of the spring.

Can u help me how to compress the spring in assembly condition in Solidworks,

Thank You in Advance,

Narender.V

SolidworksDrawings And Detailing