I want to prevent new rows adding with date field earlier than yesterday.
Can You explain "how to"?
I try with:
$col["formatoptions"] = array("opts" => array("minDate"=> -1));
Datepicker show only available dates but I have 2 problem:
1- Datepicker doesn't work when I select one of available dates
2- I can manually insert a date without restriction
1) Unable to regenerate this issue. It works as expected.
2) Set $col["editoptions"]["readonly"]="readonly"; …. it will make field non-type-able and only work with selection.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!