jQWidgets Forums

Forum Replies Created

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

  • joepacelli
    Participant

    Actually resolved my issue.
    I have 2 dropdownlist. They both have identical data. One is my FromLocation. The other is my ToLocation
    My main focus was on the FromLocation and getting it to work.
    It turned out I needed to change the parent_id’s so they were unique in both tree’s.
    They were conflicting


    joepacelli
    Participant

    It’s in the select handler because it’s setting the control enabled.
    It was basically just the disabled and SelectedIndex. I added the displayMember and valueMember since I been trying to get the value
    Even if my event handler looks like this

    $("#orgs").bind('select', function(event) {
             var localityCd = "en-US";
    
             if (event.args) {
                 $("#transportType").jqxDropDownList(
                 {
                     disabled: false,
                     selectedIndex: -1,
                 });
    
                 window.OrgNbr = event.args.item.value;
                 transportTypesSource.data = { OrgNbr: window.OrgNbr, localityCd: localityCd };
                 $("#transportType").jqxDropDownList({ source: transportTypesAdapter });
             }
         });
    

    My second dropdownlist is loaded with the description.
    But I still can not get the value. it’s always blank and undefined.

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