on 04-11-2012 7:06 PM
Hi All,
In my requirement i have a table which as 10 Input Fields. When i say get data this table fills with values. My question is when table is filled with values
table width increases and it disturbs my layout design. How to control this table width?
Example i have a description field, these field width changes. If description is long my table width also increases can this controlled. Please Explain?
Thanks,
Sandy.
Hi,
You can use Scroll Container to achieve this. Place Scroll container and place your table control in it.
So when the table is being filled, it only use the width set to the scroll container.
Or you can use the Width property of the table.
Set the width of the table and enable fixed layout property of the table, so that the table width can not be changed after filling the data into the table.
And when the statement
context_node->bind_table( lt_node ).
executed, the table is filled with the values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandy,
Hope you are displaying table data in TextViews only. Enable the Wrapping for those textViews and maintain width of those and Table also fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Set the table property of fixedTableLayout as true. Also, you can use the description column - textView property of wrapping as true.
This should ensure that table is fixed and not expanding.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.