Daterangepicker

QuestionsDaterangepicker
Raed Ibrahim asked 2 years ago

Dear Sirs,

I am unable to search based on date using the Daterangepicker while employing the following format:

$col = array();
$col[“title”] = “Date”;
$col[“name”] = “programedate”;
$col[“width”] = “300”;
$col[“formatter”] = “date”;
$col[“formatoptions”] = array(“srcformat”=>’Y-m-d’,”newformat”=>’D, M d, Y’);
$col[“editable”] = true; // this column is editable
$col[“editoptions”] = array(“size”=>20, “defaultValue” => date(“Y-m-d”));
$col[“stype”] = “daterange”;
$col[“searchoptions”][“opts”] = array(“initialText”=>”Select date range…”);
$col[“editrules”] = array(“required”=>true, “edithidden”=>true); // and is required
$cols[] = $col;

Please advise.

best regards,

3 Answers
Abu Ghufran Staff answered 2 years ago

Hi,

It needs an update in the library. I’ve emaied you an update.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Alberto answered 4 hours ago

Hello, I believe I have the same issue, could you please may send me the updated library? Thank you!

Alberto answered 4 hours ago

Hello, I believe I have the same issue, could you please may send me the updated library? Thank you!

Your Answer

13 + 3 =

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?