Auto Suggestion Auto suggestion in search box (Added in v 3.6)

You can add auto suggestion in search box that allows you to type the text and based on text, records will be shown as suggestion. You can enable/disable auto suggestion in config file. Please note that auto suggestion works with specific column not for "All" option in column dropdown of search box. You need to type atleast 2 character to view auto suggestion search result.

  
                                //enable the auto suggestion and hide the "All" text from the search box 
                                $pdocrud = new PDOCrud(false, "", "", array("autoSuggestion" => true, "showAllSearch" => false));
                                echo $pdocrud->dbTable("orders")->render();
                                

Orders

Showing 1 to 10 of 89 entries

# ID Order no Order date Customer name Order amount Order status Actions
1 65 94701 2016-09-08 Cooper Jensen 589 Completed
2 66 36440 2016-09-08 Xenos Clarke 8 Completed
3 67 37251 2016-09-08 64 Completed
4 69 9551 2016-09-08 89 Completed
5 71 91617 2016-09-08 57 Completed
6 72 78062 2016-09-08 56 Completed
7 73 87594 2016-09-08 7 Completed
8 74 24386 2016-09-08 70 Completed
9 75 49890 2016-09-08 27 Completed
10 76 42911 2016-09-08 24 Completed
# ID Order no Order date Customer name Order amount Order status Actions