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

# ID Order no Order date Customer name Order amount Order status Actions
1 267 1 2023-04-04 Xenos Clarke 3212 1
2 268 0 0000-00-00 Cooper Jensen 656 a
3 269 1 0000-00-00 Xenos Clarke 1 1
4 270 0 0000-00-00 0
5 271 100 2023-04-20 1020 Completed
6 272 1 2023-04-05 100 2
7 273 12 2023-04-06 Xenos Clarke 5 Completed
8 274 3453 2023-04-19 0 sdaf
9 275 0 0000-00-00 0
10 276 0 0000-00-00 0
# ID Order no Order date Customer name Order amount Order status Actions