I'm fairly new to Flex. I'm trying to disable a DropDownList in order to prevent the user from changing the selection at a certain occasion. (So, when clicking on the DropDownList it would not open.)
Any suggestions would be highly appreciated.
Thanks in advance.
Just use the following code:
myDropDown.enabled = false;
Related
and thanks, I am creating a Suitelet in SS2, I need to filter across three selects on the client side. I was able to load the initial drop-down using 'insertSelectOption' but I cannot select any item. When I choose one it goes back to the blank option. I can't figure out what I am doing wrong. The entire list is loading in the select fine. Any help would be greatly appreciated.
thanks
You can only change the dependent dropdown lists via custom code-added form fields. I'm sure it would help if you were to post your code that you're trying to implement.
I have tired set focus to text box in adempiere. its not working for me. Can you please tel me how to achieve this?
How to set the cursor focus to a textbox in adempiere.
If you have this problem in Form, the default java statements can be used to set the cursor focus. That is
myComponent.grabFocus();
myComponent.requestFocus();//or inWindow
Can you please briefly explain what was the exact problem? Do you need callout ?
we need to modify the core classes of Framework for Field focus change purpose.
I'm new to teleriks.Anyway i want to validate textboxes in edit form.I want to use some regular expression also.How can i do this?
Is there any place to add egular expressions?.Please help me to solve this isssues.
if you are using radgrid you can take several ways here
check here:
http://www.telerik.com/help/aspnet-ajax/grid-validation.html
In Powerbuilder, Does anyone here know how am i going to highlights multiple items on a treeview? Selecteditem function is not doing that. Im looking for a behavior just what Selectedrow id doing.
Thanks!
I've not tried this myself but there is an example on CodeXchange (look for Multi-select TreeView Control).
I think the treeview style datawindow might be easier to do this with.
If not, I found this on the newsgroup, don't know if it helps:
The following script in the
selectionchanged event will implement
a very basic multiselect in the
treeview:
treeviewitem ltvi_item
if KeyDown(KeyControl!) then
This.GetItem(oldhandle, ltvi_Item)
ltvi_Item.Selected = True
This.SetItem(oldhandle, ltvi_Item)
end if
A problem is deselecting the
previously selected items. You would
have to scan through ALL items do look
for the selected ones (once the user
clicks an item without holding down
the control key)
https://groups.google.com/forum/#!msg/powersoft.public.powerbuilder.objects/B2ulHBrSnrs/itwhNBjlyOoJ
One approach to this is to use the CheckBoxes attribute on the treeview, then check the treeviewitem's StatePicture (Unchecked = 1, Checked = 2).
Good luck,
Terry.
I have looked around and have yet to find a decent answer.
I wish to add a new row into my grid from my own custom button, without using their add buttom or edit forms.
Something like:
$("#grid").jqGrid('insert',{"id","col1","col2"});
I want to be able to programatically insert new rows and not have to use their form.
Any help would be greatly appreciated.
Regards,
Byron
Why do you not use addRowData method (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods)? Do you want do something more as to add the data?