Hi,
Im trying to do a search with a select, so i put in the colModel this line
{name:'categoria',index:'categoria', width:200,editable: true, edittype: 'select',editrules:{required:true}, editoptions: { value: categorias},stype:'select',searchoptions:{sopt:['eq'],value:categorias} },
categorias is a variable of categorys, contains data like 2:Jeans;3:Vaqueros;1:Varios;
The that loads well but when searching i see this in firebug
filters{"groupOp":"AND","rules":[{"field":"2:Jeans;3:Vaqueros;1:Varios;","op":"eq","data":"2"}]}
t pass to the server the opotions instead of de field name, so the search dosent work.
i dont know if that's a bug or im doing something wrong.
thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top