jQWidgets Forums

jQuery UI Widgets Forums Grid A strange filter bug

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • A strange filter bug #19892

    dagolin
    Member

    When data begins with “Z-” and follows by any character , the filter breaks.

    example :

    var source =
    {
    localdata: [{“name”:”Z-1″},
    {“name”:”Data2″}],
    datatype: “array”
    };

    var dataAdapter = new $.jqx.dataAdapter(source);

    $(“#jqxgrid”).jqxGrid(
    {
    width: 670,
    source: dataAdapter,
    theme: theme,
    showfilterrow: true,
    filterable: true,
    selectionmode : ‘multiplerowsextended’,
    columns: [
    { text: ‘Name’, columntype: ‘textbox’, filtertype: ‘textbox’, filtercondition: ‘starts_with’, datafield: ‘name’, width: 115 }
    ]
    });

    A strange filter bug #19893

    Peter Stoev
    Keymaster

    Hi dagolin,

    If you type z or Z, the Grid will display “Z-1”.
    If you type z- or Z-, the Grid will display “Z-1”.
    if you type z-1 or Z-1, the Grid will display “Z-1”
    if you type z-2, z-x or z-any character, the Grid will not display “Z-1”.

    The above is the behavior in jQWidgets 2.8.1.

    Best Regards,
    Peter Stoev

    jQWIdgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.