I am looking for a jquery pluin that helps with checkbox.
Its basically works this way:
When parent checkbox is checked, all children checkbox will be checked.
When one child checkbox is unchecked, the parent checkbox should be auto unchecked.
I am looking for a plugin that is smart and flexible to define which is parent and which are children. And it should work for multiple sets(levels) of checkbox.
Thanks in advanced.
Regards
XD
Maybe you can try yourself with jQuery. Here a quick example: http://jsfiddle.net/QjDLL/
try this:
http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
It works amazing, you can also make it fixed, if you don't like it popping up.
You can also group by optgroup
Maybe you mean something like that:
http://code.google.com/p/dynatree/
Related
I have a yes/no fields that controls whether the next 3 sections are visible (relevant) or not. It works fine, but as soon as the visibility state is changed at runtime, the sections cannot be clicked anymore in wizard view! I also cannot navigate to them using the prev/next buttons at the bottom. Is this a bug?
I defined rules for all sections that have a conditional visibility state:
relevant="$control-1 eq true()"
Is there another way i could do this, maybe as a "global" XPath expression?
Demo
This looks like a bug. We fixed a very similar one with #3547, but I entered a new bug since this is failing again, see #3610. Please follow-up there.
I'm trying to validate a multiple ui-select using ng-messages and angular 1.3. The $touched property is not being set on first interaction, i.e. click inside the select and then click outside. However, this works for textarea element.
Including the plnk. Could someone say what is wrong here? TIA.
Seems like it's just a bug in 1.3 since 1.4.7 behaves how you'd expect. The ng-touched and ng-untouched classes on the input box are updating correctly, so that could be a workaround in some cases.
I am trying to create a dropdown in AbyyFlexicapture.
The dropdown should be filled from database (i have external DLL ready to do the job) or with fixed values. The problem is I cant find the appropriate element for the job. All i found (the closest) was checkbox group, but I dont know how to use it (add items programaticaly). The documentation on this is very poor ...
Any help would be appreciated!
Figured it out. You just push data to textbox with query and it gets auto-converted to dropdown. But theres no way (at least known to me) how to set up default selection...
Look at the IField.Suggest() method.
How can i add check box inside combo box within the grid view.
As far as I know - it impossible, but they have similar editor type - "clist", check
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/09_pro_excell_extra.html
You can outside the grid view, like this link suggest (from the official dhtmlx forums).
But inside the grid you cannot.
The closest answer I found on the official dhtmlx forums said:
There is no special integration of combo with checkboxes and dhtmlxgrid.
"combo" column type purposed to be used with plain combobox mode only.
Technically it possible to change it , so it will render as list with checkboxes, but checked values will not be accessible through grid's API
I hope this answer could help you. If not, you should ask the dhtmlx team directly, as it does not seem to be possible without imperfect workarounds.
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.