Hi again. Sorryb to ask so many questions but, I have set a default search on the grid using the below code. How do I set the dropdown filter selection on the “Approval” column to match that default search?
// default grid to show only pending approvals
$sarr = <<< SEARCH_JSON
{
“groupOp”:”AND”,
“rules”:[
{“field”:”approval”,”op”:”eq”,”data”:”Pending”}
]
}
SEARCH_JSON;
$opt[“search”] = true;
$opt[“postData”] = array(“filters” => $sarr );
//$opt[“persistsearch”] = true;
1 Answers
Your Answer