jQWidgets Forums
Forum Replies Created
-
Author
-
August 23, 2017 at 5:23 pm in reply to: Is possible adding element when writing search box. Is possible adding element when writing search box. #95613
Is this scenario supported by jqxComboBox now i n version > 5?
I have json datasource and want to add items (when user input strings in select) if they are not in my default datasource.This scenario unfortunately does not work for me(
var source = { datatype: "json", datafields: [ { name: 'tag' } ], url: MYURL, async: false }; var tagsDataAdapter = new $.jqx.dataAdapter(source); $("#jqxTagsCombobox").jqxComboBox({ theme:'ofice', remoteAutoComplete: true, source: tagsDataAdapter, multiSelect: true, displayMember: "tag", valueMember: "tag", width: 200, height: 25, search: function (searchString) { $("#jqxTagsCombobox").jqxComboBox('addItem', searchString);} });
Hello, Hristo
Certanly, I have been seen this demo before I wrote my question here.
But in your demo there is the input field that is submited
<input type="hidden" name="tree" value="Solutions,Education,Manufacturing,PC products">
A want to submit not text values, but IDs!
For example<input type="hidden" name="tree" value="1,4,6,7">
vertical align breaking example http://jsfiddle.net/c3ZTB/114/
But by default there are labels in hidden field that was submitted. How can I switch it to Ids?
Ok, I answer again. I have html ul and li inside.
I build this ul from my DB.
And when I checked items I want to put IDs (not text) in hidden input value and then submit it!I want to submit IDs of checked items.
July 20, 2017 at 8:06 pm in reply to: jqxmenu li padding and anchor click jqxmenu li padding and anchor click #95029thanks, Hristo, but your solution is not good for me, and events from jqmenus.js still running
as temporarly solution I did so to prevent standart behavior
$(e.args).unbind('click');
and edit some css
li.jqx-menu-item-top > a.menu-link { display: block; padding: 4px 8px; } .jqx-menu-item-top, .jqx-menu-item-top:hover { padding: 0px !important; }
-
AuthorPosts