Im trying to set a default date for a column.
The code below does not work. Any help appreciated.
Thanks!
$col = array();
$col["title"] = "Srt-Date";
$col["name"] = "ServiceDate";
$col["width"] = "4";
$col["search"] = false;
$col["editable"] = true; // this column is editable
$col["editoptions"] = array("size"=>20, "defaultValue"=>"2001-12-23");
$col["hidden"] = true;
$cols[] = $col;
1 Answers
Your Answer