jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList Dropdownlist filter does not allow spaces

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 4 years, 10 months ago.

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

  • ryukend
    Participant

    My code is the following:

    var source =
    			{
    				datatype: "json",
    				datafields: [
    				{ name: 'ID'},
    				{ name: 'cliente', type: 'string'},
    				],
    				url: '<?php echo base_url();?>gestion/traer_clientes',
    				async: false
    			};
    			var dataAdapter = new $.jqx.dataAdapter(source);
    				
    			$("#dropdownlist").jqxDropDownList(
    			{
    				source: dataAdapter,
    				filterable: true,
    				filterPlaceHolder: "Buscar por razon social..",
    				placeHolder: "Seleccionar cliente...",
    				theme: 'metro',
    				width: '100%',
    				height: 34,
    				selectedIndex: -1,
    				displayMember: 'cliente',
    				valueMember: 'ID'
    			}); 

    When I try to filter and place a space it does not allow it, what can it be ?, thanks


    Martin
    Participant

    Hello ryukend,

    What do you mean that if does not allow you to place a space?
    I have tested the following Example and it is working fine.

    Best Regards,
    Martin Yotov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.