on 11-24-2008 9:06 AM
Hi Experts,
I have a table to which there has been an OVS declared for a Paticular column. The ovs is working fine but the problem arises when i click on some value in the ovs the selected value goes and sits in the first row as that is the lead selected element.
The ovs method doesnt allow us to create a new method parameter context_element like in other methods so is there a way i can get the reference of the row (element) that i click on the table to generate the ovs.
Thanks In Advance,
Chaitanya.
Hi,
Try the below code to set value for the selected row in phase 3 of OVS.
Node= wd_Context->path_get_node( wd_This->nodename ).
Node->set_lead_selection( ovs_callback_object->context_element ).
Elem= Node->get_Element( ).
lr_context = wd_Context->get_context( ).
lr_context->add_context_attribute_change(
element = Elem
attribute_name = ovs_callback_object->context_attribute
new_value = "ABC"
).
Node->set_attribute(
name = ovs_callback_object->context_attribute
VALUE = "ABC"
Regards,
Shruthi R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.