on 07-07-2008 11:40 PM
Hi all,
I need to use a dropdown in a table UI element.
I have used dropdown by index.
I am able to get the dropdown and the values in it,
However, for each row in the table, the dropdown values vary.
How can I have different values in the dropdown for each row of the table.
Eg. if in row 1, the dropdown should have D1, D2 values and in row 2, it should have D3, D4 values
Regards,
Reema.
Hi,
I have also the same requirement like using the drop down in the table. But i am getting the error as "The ASSERT condition was violated". Can you guide me .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have also the same requirement like using the drop down in the table. But i am getting the error as "The ASSERT condition was violated". Can you guide me .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wrong post, ignore.
Use DropDownByKey,
it will be easier as your context attribute is not an Integer
Abhi
Edited by: Abhimanyu Lagishetti on Jul 8, 2008 7:09 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I have different values in the dropdown for each row of the table.
Eg. if in row 1, the dropdown should have D1, D2 values and in row 2, it should have D3, D4 values
As you did, you need to use DropDownByIndex in that case.
Maybe your problem is in your context structure or in its loading with values.
In the table, an additional column must be defined with a column editor DropDownByIndex, which has a Texts property.
Your context structure should be something like this:
TABLE_NODE (card. 0..n)
- ATRIB1
- ATRIB2
- DROPDWN_NODE (card. 0..n sel. 0..1)
- VALUE
- TEXT <-- bind this attribute to Texts property
You can then use a Supply function to load the dropdown on each case based on table row selection (NOT using Singleton property). You could also just load the dropdown subnode as you load the parent node which has the table data.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.