My picklist values:

 1. model,version
 2. model,version,option
 3. model,version,option,discount

If I choose "model,version" the table displayed with 2 columns like model,version.

If I choose "model,version,option" the table displayed with 3 columns named model,version,option and so on
 
Please can any one suggest me..