Change Filter behavior
Change Filter behavior
Hello,
we are using this Code:
aoColumns: [ null,
{ sSelector: "#filter_a", type: "date-range" },
{ sSelector: "#filter_b", type: "select", values: [ <?php echo getpilotname(); ?> ] },
null,
null,
null,
null,
null,
null,
null,
null
]
});
var $options = $("#filter_b").find("select > option").clone();
$('#pilotnames')
.empty()
.append($options);
It will output all Names.
How it is possible that we change select box to a special value who no one could change?
I mean how it is possible to insert the filter_b value with no selector?
So How it is possible to replace the type "select" to a fix value?