Hi,
I am using SectionStack with 2 SectionStackSections. The upper one shows ListGrid and the second one shows DynamicForm.
DynamicForm has autoHeight set (which in fact is setHeight(1), so initially lower section occupies only as much space as possible to display the whole contents of the DynamicForm. The ListGrid above uses the rest available space.
This approach works fine and user can move SectionStackSection up and down shrinking ListGrid and expanding DynamicForm to his liking.
Now, the problem is that I would like to save&restore user preferences including SectionStackSection header position. I can't find any api to get/set those attributes nor in SectionStack and SectionStackSection. The only way to influence SectionStackSection header position I found so far, is setting DynamicForm or ListGrid height explicit, but this ruins user ability to move header later (instead of shrinking/expand scrolling occurs).
Any suggestions ?
MichalG
SmartGWT 3.0
I am using SectionStack with 2 SectionStackSections. The upper one shows ListGrid and the second one shows DynamicForm.
DynamicForm has autoHeight set (which in fact is setHeight(1), so initially lower section occupies only as much space as possible to display the whole contents of the DynamicForm. The ListGrid above uses the rest available space.
This approach works fine and user can move SectionStackSection up and down shrinking ListGrid and expanding DynamicForm to his liking.
Now, the problem is that I would like to save&restore user preferences including SectionStackSection header position. I can't find any api to get/set those attributes nor in SectionStack and SectionStackSection. The only way to influence SectionStackSection header position I found so far, is setting DynamicForm or ListGrid height explicit, but this ruins user ability to move header later (instead of shrinking/expand scrolling occurs).
Any suggestions ?
MichalG
SmartGWT 3.0