+ Start a Discussion

Auto resize panelgrid

I am trying to create a master-detail layout with a panelgrid. The grid would contain 2 columns, a list of contacts on left hand side and the contact detail on the right hand side. However, I would like the panelgrid to be auto resizable i.e.. on initial load, when only the contact list is displayed the panel grid would occupy 100% width. When a user chooses a specific record, the detail is displayed and the panelgrid columns autoresize to 50% width. Is this possible?


There is a property called columnClasses which accepts coma seperated css styles. I am not sure if this is of any help to you. Please post some code so that I can adivse you something