1

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 .? enter image description here

2
  • I've tried this but unfortunately, it not works. If you got the solution then please update it here. :)
    – Sumit
    Commented Sep 18, 2019 at 7:15
  • 1
    @Sumit Definitely Commented Sep 18, 2019 at 7:20

4 Answers 4

1

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

0

Please use below date time picker Please check this link

Try to override sales_order_grid.xml and change default date picker with date time picker.

1
  • where i'm edit the file to change datetime picker Commented Sep 17, 2019 at 7:04
0

Please add "dateRange" in column

<item name="filter" xsi:type="string">dateRange</item>
-1

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

2
  • 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
    – Sudheer
    Commented Apr 20, 2020 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.