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 105 entries

# ID Order no Order date Customer name Order amount Order status Actions
1 80 74040 2016-09-10 52 Completed
2 82 84334 2016-09-08 Xenos Clarke 7 Completed
3 83 91414 2016-09-08 Xenos Clarke 91 Completed
4 85 71212 2016-09-08 33 Completed
5 86 14459 2016-09-08 43 Completed
6 87 22844 2016-09-08 17 Completed
7 88 43892 2016-09-08 55 Completed
8 89 72412 2016-09-08 22 Completed
9 90 64889 2016-09-08 Xenos Clarke 46 Completed
10 91 5518 2016-09-08 Cooper Jensen 64 Completed
# ID Order no Order date Customer name Order amount Order status Actions