Quick Data View Option to view the data on grid/table row click (Added in v 3.6)

You can set quickView=true to quickly view the table data just below the table on click of row. You can pass quickView=true in constructor function or set it directly in config file. Click on any table/grid row to view this operation in action. You can set the color/css of the table row selected in the style.css file.

  
                                //pass quickView=true in constructor function or you can set it via config file
                                $pdocrud = new PDOCrud(false, "", "", array("quickView" => true));
                                //optional - Enable edit button, make sure to hide save and edit button on form next form
                                //$pdocrud->setSettings("viewEditButton", true);
                                //hide back button
                                $pdocrud->setSettings("viewBackButton", false);
                                //optional: add close button
                                $pdocrud->setSettings("closeButton", true);
                                echo $pdocrud->dbTable("employee")->render();
                        

Employee

Showing 1 to 1 of 1 entries

# Id First name Last name Address City State Zip Actions
1 147 carlos perez lima lima lima 12454
# Id First name Last name Address City State Zip Actions