The below code display all database table names and values in MASTER TABLE. But i need only required field values and custom field names like in DETAIL TABLE. Need help.
$grid = new jqgrid();
$opt["caption"] = "Master Table";
$opt["detail_grid_id"] = "list2,list3";
$opt["height"] = "300";
$opt["width"] = "600";
$grid->set_options($opt);
$grid->table = "cl_master";
$echo= $grid->render("list1");
1 Answers
Refer this docs link for selecting specific columns.
http://www.phpgrid.org/docs/#Selecting_Specific_Columns
Your Answer