jQWidgets Forums

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts

  • Peter__Pan
    Participant

    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);}
        });
    in reply to: jqxtree from ul with id jqxtree from ul with id #95181

    Peter__Pan
    Participant

    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">

    in reply to: jqxtree from ul with id jqxtree from ul with id #95132

    Peter__Pan
    Participant

    vertical align breaking example http://jsfiddle.net/c3ZTB/114/

    in reply to: jqxtree from ul with id jqxtree from ul with id #95129

    Peter__Pan
    Participant

    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!

    in reply to: jqxtree from ul with id jqxtree from ul with id #95089

    Peter__Pan
    Participant

    I want to submit IDs of checked items.


    Peter__Pan
    Participant

    thanks, 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;
    }
Viewing 6 posts - 1 through 6 (of 6 total)