Filter on rows with input or combo boxes

Filter on rows with input or combo boxes

puraminypuraminy Posts: 11Questions: 0Answers: 0
edited November 2013 in General
Among these huge extensions, I don't know why I can't find filtering on the values of inputs or comboboxes inside the cells of the rows.

please help.

Replies

  • puraminypuraminy Posts: 11Questions: 0Answers: 0
    edited November 2013
    Ok, afture tooking a lot of hours I found the solution below,
    you can use mRender to specify the selected value of the select box for filtering


    [code]
    "mRender": function ( data, type, full ) {
    if (type === "filter")
    {
    node = $.parseHTML(data);
    var val = $(node).find("select option:selected").text();
    return val;
    }
    return data;
    }
    [/code]
This discussion has been closed.