Hello,
I want to filter on all columns with a textbox. It works with one column but I don't reach with many.
Is it possible to filter with a textbox on all columns on client side ? How I do ?
Greets
JP
My code doesn't and I don't know Why ?
Could you help me please ?
Sorry for my late response...
I can't implemented the full-text search. Look at my code
function
Filter() {
var grid = $find("<%= Gri_Cli.ClientID%>");
var searchTextBox = $get("<%= Txt_Rec.ClientID %>");
var filtering = grid.get_behaviors().get_filtering();
for (z_I = 0; z_I < grid.get_columns().get_length() ; z_I++) {
// Set up column filter
var columnFilter = filtering.get_columnFilter(z_I);
var colFilterExists = (columnFilter ? true : false);
if (!colFilterExists) {
columnFilter = filtering.create_columnFilter(grid.get_columns().get_column(z_I).get_key());
}
columnFilter.get_condition().set_rule($IG.TextFilterRules.Contains);
columnFilter.get_condition().set_value(searchTextBox.value);
filtering.add_columnFilter(columnFilter);
filtering.applyFilters();
Could you help me ?
Hello Jphilip74,
Please feel free to contact us if you are still experiencing any issues.
Can you please explain what exactly you are trying to achieve, and what you have currently done?
Hello Jean,
Please, ignore my previous post. I've posted in the wrong forum. The technique I describe is for Ignite UI igGrid.
Sorry once again.
Best regards,Martin PavlovInfragistics, Inc.