ok,
but I am not sure how to bind the textfield with the filter
for example,
$('#cc').combogrid({
delay: 500,
mode: 'local',
hasDownArrow: false,
value: valore,
idField: 'tb_testo',
textField: 'tb_testo',
columns: [[
{
field: 'tb_cod',
title: 'Cod',
},
{
field: 'tb_desc',
title: 'Desc',
width: 200
},
{
field: 'tb_testo',
title: 'test',
hidden: true
}
]],
data: dati
}).combogrid('grid').datagrid('enableFilter',[{
field:'tb_desc',
op:'contains',
value: ?????
}]);
what do I must put as
value ?
How can I write a filter if I need to match the text against with more than one column (for example I'd like to check if the typed word is contained in tb_desc OR in tb_testo column)?
thanks,
RIc