vigj
21 Oct 2011, 3:11 AM
Hi
I have a problem with one of my gridfilters (it is stringfilter)
I have to set it programmatically. I am able to set the value, but not the radiobutton that determines if the JSON sent to the server ask for an "equal" query or "like" query. I want equal, i set the value of gridfilter in this way
numeroFilter.setValue(numero);
numeroFilter.inputRadio.items[1].checked = false;
numeroFilter.inputRadio.items[0].checked = true;
numeroFilter.setActive(true, false);
the "equal" radiobutton is checked but the JSON sent to the server is always "LIKE".
How can i solve this?
I have a problem with one of my gridfilters (it is stringfilter)
I have to set it programmatically. I am able to set the value, but not the radiobutton that determines if the JSON sent to the server ask for an "equal" query or "like" query. I want equal, i set the value of gridfilter in this way
numeroFilter.setValue(numero);
numeroFilter.inputRadio.items[1].checked = false;
numeroFilter.inputRadio.items[0].checked = true;
numeroFilter.setActive(true, false);
the "equal" radiobutton is checked but the JSON sent to the server is always "LIKE".
How can i solve this?