jQWidgets Forums

jQuery UI Widgets Forums Grid sort and filter events not firing

This topic contains 2 replies, has 2 voices, and was last updated by  aserlanger 11 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • sort and filter events not firing #55136

    aserlanger
    Participant

    Hi – I have a simple csv-bound grid for which the sort and filter events will not fire, even though the bindingcomplete does.
    THe heading for the grid is:
    width: 1500,
    height: 800,
    source: dataAdapter,
    sortable: true,
    filterable: true,
    filtermode: ‘excel’,
    altrows: true,
    columnsresize: true,
    and the event functions are declared as :

    $(‘#jqxGrid’).on(‘sort’, function (event)
    {
    alert(‘Sorted’);
    });

    $(‘#jqxgrid’).on(‘bindingcomplete’, function (event) {
    alert(“Binding is completed” );
    });

    $(‘#jqxGrid’).on(‘filter’, function (event)
    {
    alert(“filter”);
    });
    Tried this with Firefox and Chrome, no luck.
    Any ideas as to where I am going wrong?

    sort and filter events not firing #55142

    Peter Stoev
    Keymaster

    Hi aserlanger,

    There is no problem with these events so I suggest you to check whether your jQuery Selectors are OK. Here are samples which demonstrate that the events work as expected: http://jsfiddle.net/jqwidgets/xcUA3/ and http://jsfiddle.net/jqwidgets/YsNT2/

    Best Regards,
    Peter Stoev

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

    sort and filter events not firing #55285

    aserlanger
    Participant

    Ah – evils of cut and paste – object name was jqxgrid, not jqxGrid. Thx for the help.

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

You must be logged in to reply to this topic.