Daterangepicker

QuestionsDaterangepicker
Raed Ibrahim asked 5 months 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,

1 Answers
Abu Ghufran Staff answered 5 months ago

Hi,

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

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

10 + 17 =

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?