jQWidgets Forums

jQuery UI Widgets Forums Grid How to provide the search option in custom div or call the filterable search eve

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 8 years, 3 months ago.

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

  • shiv
    Participant

    Hi Team ,

    I am trying to provide the scarch option in my custom div.if i am doing showfilterrow: true, & filterable: true,than filter option is coming to every column , But i want to provided the same functionlity to my scarch div.

    Ex:- <div id=”searchcontentforall”><input name=”search” placeholder=”Search” type=”text” id=”forsearch”/> </div>(this is there outside the grid)
    this is my search div. if user will scarch in my input filed than it will work same like how filterable is working for every column.
    this is my column for which i want to provide the search option
    { text: ‘Title’, datafield: ‘title’, width:’28%’,cellclassname: cellclassname},

    i have seen example but i am not getting what i want , i gone though this example-http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/toolbar.htm?light

    Thanks & Regards
    shiv


    Hristo
    Participant

    Hello shiv,

    Do you receive any error messages?
    I would like to suggest you look at this example (about how to ‘addfilter’): http://jsfiddle.net/jqwidgets/P7BCs/
    You could use this approach when keydown event is fired and if you have a small amount of data you could use var rows = $('#jqxGrid').jqxGrid('getrows');.

    Best Regards,
    Hristo Hristov

    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.