on 01-31-2006 12:25 PM
Hi,
Can somenone tell me how I can change the number of colomns (ColCount) when you create dynamic group element.
Kind Regards,
Richard
Richard,
This depends on type of layout:
1. For GridLayout you must specify column count via IWDGridLayout.setColCount();
2.For MatrixLayout you have to combine IWDMatrixData / IWDMatrixHeadData for children to achieve effects of columns row -- every head data starts new row, then sequential non-head data forms columns (2,3,4...)
See this for example of GridLayout
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to reinstate valery's point,assuming we are creating some dynamic UI inside a container.
You will use the Layout for container..Now when you add UI elements to this container.. each UI element will have some properties.. like alignment etc., whihc have to be set based on the layout. This will become the layout data.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.