daterange on serach giving error

Questionsdaterange on serach giving error
Saurabh Arora asked 4 years ago

i tried to set on search as daterange filter but giving error on console

$col[“stype”] = “daterange”;
$col[“searchoptions”][“opts”] = array(“initialText”=>”Select date range…”);

 

Uncaught TypeError: jQuery(…).daterangepicker is not a function

1 Answers
Abu Ghufran Staff answered 4 years ago

You need to include daterange picker related JS/CSS files as well.

https://www.gridphp.com/demo/demos/integrations/daterangepicker.phps Line 164-166

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

15 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?