Good day All,
I need to implement a custom date widget on our igGrids for filtering (the client is very picky), to allow us to more easily select months and years.
Is there a way I can override the default widget being used and use the one I use throughout the application?
I've looked and there does not seem to be a straightforward way I am aware of.
FYI, we're using IgniteUI v13.1
The igGridFiltering is using igEditor instances for the filter. Currently we do not provide a mechanism to implement custom filter widget and plug it into the existing infrastructure. However I can suggest one approach to deal with your specific scenario. The date column filter is using the igEditor.type='datepicker' which is using the jQuery UI datepicker behind the scenes. What you can try is to substitute the $.datepicker variable with your own implementation of the jQuery UI datepicker (you're talking about that you have your date picker in your application, if it inherits jQuery UI datepicker I think it will also work with igGridFiltering). Of course this will affect all $.datepicker instances.
Best regards,Martin PavlovInfragistics, Inc.
Another, easier solution is to enable the jQuery UI datepicker changeMonth and changeYear options. Attached you can find a sample on how to accomplish that.
Thank you very much for the quick response.
I tested your 2nd solution and it works great! Exactly what I wanted.
I've marked it as the answer, and you may close the case.
Have a good one!!!!!
Thank you, Eduard and good luck!
Hello, I am in need of this functionality however, the link to igGridFiltering_configuring_datepicker.zip is broken. Can you repost the example?