Hi!
I started using the new filter row and I think it's great!
However, in busy grids with several columns it looks awful. The filter controls don't resize, so in narrow columns it get's cut off and in wide columns the space is wasted.
I created a helper function that through some event handlers, attempts to fix this. All you need to do is call "grid.autoFixFilterWidth()"
http://jsbin.com/wipazupexaqi/3/edit
I really wish something like this would be implemented by default, hopefully using css rules and not some hacky js like my solution, but in the mean time this works for me. Ymmv.
Hope it helps someone!
Regards
Andrés
I started using the new filter row and I think it's great!
However, in busy grids with several columns it looks awful. The filter controls don't resize, so in narrow columns it get's cut off and in wide columns the space is wasted.
I created a helper function that through some event handlers, attempts to fix this. All you need to do is call "grid.autoFixFilterWidth()"
http://jsbin.com/wipazupexaqi/3/edit
I really wish something like this would be implemented by default, hopefully using css rules and not some hacky js like my solution, but in the mean time this works for me. Ymmv.
Hope it helps someone!
Regards
Andrés