jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Changing Data of DropDown Changing Data of DropDown #53748

    derarnold
    Participant

    Btw. The Clear Command is not working. Can you perhaps check?

    THX Oliver

    in reply to: Changing Data of DropDown Changing Data of DropDown #53747

    derarnold
    Participant

    Hello hello.

    Can I change the URL of the datasource and then force the dropdownlist to reload?

    Oliver

    in reply to: Changing Data of DropDown Changing Data of DropDown #53737

    derarnold
    Participant

    Hello Peter.

    I have a DB containing let say 10 items. With a sql select I want to select only lets say 4 out of these. These 4 should be displayed in the drop box.

    In my php I can already fire this sql statement. For the selection I need a value out of the java script environment (an ID) so I can modify the select statement, so that the correct items are shown. I do now know how to transfer this id …

    Oliver

    in reply to: Changing Data of DropDown Changing Data of DropDown #53685

    derarnold
    Participant

    Hello Peter.

    That is exactly what I want to do. The only thing is, how to pass the id I need to filter.

    So I have

    var dataAdapter_attachments = new $.jqx.dataAdapter(source_attachments);

    and
    var source_attachments =
    {
    datatype: “json”,
    datafields: [
    { name: ‘id’},
    { name: ‘name’},
    ],
    url: ‘attachment_data.php’,
    cache: false,
    };

    So where can I put in this extra information? And how to I get it back in PHP?

    THank you for the help

    Oliver

    in reply to: Changing Data of DropDown Changing Data of DropDown #53669

    derarnold
    Participant

    Hello Peter.

    Thank you for the reply. That is not exactly whet i am looking for. I try to change the contents of the dropdownfield in accordance with the ticket I have selected. In other words, I want to filter the items in the dropdownlist at server side ….

    Oliver

Viewing 5 posts - 1 through 5 (of 5 total)