DHX Grid: How to limit the number of characters in text box

Hi there,

I want to limit the number of characters in text box of Text Filter. How to do this ?

This input box is an normal input, so you can locate it as
var input = grid.hdr.getElementsByTagName(“INPUT”)[0]
and attach any custom events|attributes to it