Validation In Filter Admin Page

Hello everyone,

I want to put validation for numeric and alphabets in filter search box in admin page. like user can enter only numeric value in filter input box.

check http://www.yiiframework.com/doc/api/1.1/CMaskedTextField