jQuery UI Widgets Forums DataTable About customize filter

This topic contains 4 replies, has 2 voices, and was last updated by  svetoslav_borislavov 8 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • About customize filter #133552

    my_2000
    Participant

    I want to enter a search word on one page and find it on the jqxDataTable page,don’t run why?`

     $('#dataTable').on('bindingComplete', function (event) { 
         $("#filterdataTable input:eq(1)").val("search word!");
         if($("#filterdataTable input:eq(1)").next().html()!=undefined){
             $("#filterdataTable input:eq(1)").next().click;
         }
     }); 
    About customize filter #133553

    Hi,

    You should use the ready callback, please see the following example:
    https://jsfiddle.net/0Lrn17ho/3/

    I hope this helps!

    Best regards,
    Svetoslav Borislavov

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

    About customize filter #133556

    my_2000
    Participant

    Sorry, jsfiddle.net can’t be accessed in China Mainland. Please change the site. I’m terribly sorry!!!!!

    About customize filter #133557

    my_2000
    Participant

    Code is right,but add “pagerMode: ‘advanced'”,don’t run!

    I have found a friend to help me access jsfiddle.net. Please do not post examples on jsfiddle.net again. Thank you very much!

    About customize filter #133558

    Hi,

    Thank you for the update!
    You may change the selector this way:
    $(“#table #filtertable input:eq(1)”).val(“Nancy”);
    if($(“#table #filtertable input:eq(1)”).next().html()!=undefined){
    $(“#table #filtertable input:eq(1)”).next().click();
    }

    If you need further assistance, do not hesitate to contact us!

    Best regards,
    Svetoslav Borislavov

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

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

You must be logged in to reply to this topic.