|
Hi, Is there a way to remove an element from selection list on
run time? I am using the below code in a definition XML file .But removeAttribute
method is not working <row-action id="delete"
action-command="delete">
<label><i18n:text>Delete</i18n:text></label>
<on-activate>
<_javascript_>
var queryToRemove = event.source.parent.lookupWidget("name").value;
event.source.parent.parent.parent.lookupWidget("defaultQuery").removeAttribute(queryToRemove);
</_javascript_> </on-activate> </row-action> Any help on this is highly appreciated. Ps : defaultQuery is a cocoon field that is styled as a selection
list Thanks, Prateesh
|
- Removing an item from Cocoon selection list prateesh.parammel
- RE: Removing an item from Cocoon selection list Stuart Thorne
- RE: Removing an item from Cocoon selection list prateesh.parammel
