Madd0g
Madd0g

Reputation: 4001

ExtJS4 - choose card in card layout based on data in model

Is there a way to automatically select a card in card layout when the record is loaded?

I want to have multiple mutually exclusive field-groups in a form. I want to switch between them automatically based on a value in the model. Is it possible with the card layout?

Upvotes: 0

Views: 314

Answers (1)

sha
sha

Reputation: 17860

Nothing automatic exists as far as I know. You will have to manually show/hide them based on the information you loaded in the controller.

Upvotes: 1

Related Questions