1 Answers
Bonjour Patrick,
I think you can use something like this
$col = array();
$col[“title”] = “Start Date”;
$col[“name”] = “Start_Date”;
$col[“width”] = “8”;
$col[“sortable”] = true; // false this column is not sortable
$col[“search”] = true; // false this column is not searchable
$col[“editable”] = true;
$col[“formatter”] = “date”;
$col[“editoptions”][“defaultValue”] = date(“m/d/Y”);
$cols[] = $col;
Your Answer