ax2012 filter grid

i have a lookup field on a formand want to filter the data in grid on the basis of that lookup

how can i do this please tell me as early as possible thanks

refer below link

you can use your stringedit value instead of combobox value in above link