In M2 Admin I want to filter my orders with date and time, by default date only in purchase filter section. How to add date and time here. Purchase Date with time already show in the order grid!. How can i achieve my needs .?
4 Answers
I've found the right solution.
Put this to your column definition:
'filter_time' => true,
Should work for magento 1.x and also 2.x
Try to override sales_order_grid.xml and change default date picker with date time picker.
Please add "dateRange" in column
<item name="filter" xsi:type="string">dateRange</item>
Did you got a solution for this?.Yes, Please share here.
I am also looking for the same but unfortunatly I haven't found any solutions.
Reply will be appreciated
-
Sorry brother, i'm helpless .. but if you want date tim picker in ui component please follow magento.stackexchange.com/questions/130985/… Commented Apr 20, 2020 at 11:33
-
@Shafeel sha, Thanks for prompt response. So, did you left as is or did any alternatives?. I need date time picker in filters only. I hope the link you have shared is not useful for me– SudheerCommented Apr 20, 2020 at 13:12