Set GridFilter programmatically

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