jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • mlemay
    Participant

    I pulled my hair out for far too long looking for a solution to a related problem. No matter what I seemed to do with jqxDataAdapter I couldn’t get the drop down list to work. It would render with mouseover classes, but clicking it did nothing. My problem wound up being that I wasn’t properly including the required .js files (in my case jqxscrollbar.js). When I did, I could get away with (from a backbone.js view):

    var types = [ { id: 6,name: ‘fred’ },{ id: 72,name: ‘wilma’ } ];
    this.$(‘.types’).jqxDropDownList({
    ‘height’ : ’25px’
    ,’source’ : types
    ,’checkboxes’ : true
    ,’displayMember’ : ‘name’
    ,’valueMember’ : ‘id’
    });

    It’d be really nice if the dropdown list threw an exception if it needs to create a scrollbar but the scrollbar hasn’t been included.

Viewing 1 post (of 1 total)