Plugin data table example jquery data table plugin (Added in version 2.4)

jQuery based data table plugin is quite useful in term of no. of function it has. With our script, if you want to use the sql and still want search/sorting/pagination etc functions, you can use this plugin. You will have most of the grid/table functionality using this.

  
$pdocrud = new PDOCrud();
$pdocrud->addPlugin("bootstrap-colorpicker");//to add plugin          
$pdocrud->formFields(array("product_name"));
echo $pdocrud->dbTable("producttable")->render("insertform");
echo $pdocrud->loadPluginJsCode("bootstrap-colorpicker","input[type=text]");//to add plugin call on input[type=text] elements
                            

Plugin data table example - PDOCrud

# ID Order no Order date Customer name Order amount Order status
1 48 50 2016-09-08 Risa Ayers 500 nah
2 50 77099 2016-09-08 Nola 20 Completed
3 52 44144 2016-09-08 Cheryl Bowers 26 Completed
4 53 62391 2016-09-08 kjuhkjuh 96 Completed
5 54 54999 2016-09-08 Lacota Bonner 5 Completed
6 55 83323 2016-09-08 Bradley Freeman 37 Completed
7 56 409 2016-09-08 Jasper Santiago 68 Completed
8 57 50683 2016-09-08 Hilary Conner 28 Completed
9 58 93143 2016-09-08 Zena Fox 38 Completed
10 59 48121 2016-09-08 Britanni Schmidt 1 Completed
11 60 74815 2016-09-08 Caleb Lynn 95 Completed
12 61 37748 2016-09-08 Madeson Robbins 73 Completed
13 62 34490 2016-09-08 Emily Richmond 77 Completed
14 63 37920 2016-09-08 Damian Wilson 67 Completed
15 64 28431 2016-09-08 Mikayla Mendez 5 Completed
16 65 94701 2016-09-08 Igor Gutierrez 25 Completed
17 66 36440 2016-09-08 Heather Terrell 8 Completed
18 67 37251 2016-09-08 Rose Barry 64 Completed
19 68 35643 2016-09-08 Bernard Gilmore 95 Completed
20 69 9551 2016-09-08 Meghan Mack 89 Completed
21 70 44898 2016-09-08 Lillith Terrell 43 Completed
22 71 91617 2016-09-08 Jaquelyn James 57 Completed
23 72 78062 2016-09-08 Karly Beard 56 Completed
24 73 87594 2016-09-08 Kareem Cooke 7 Completed
25 74 24386 2016-09-08 Amethyst Bass 70 Completed
26 75 49890 2016-09-08 Silas Bates 27 Completed
27 76 42911 2016-09-08 Sybil Watts 24 Completed
28 77 75674 2016-09-08 Warren Hays 39 Completed
29 78 65775 2016-09-08 Kirsten Martin 25 Completed
30 79 37102 2016-09-08 Cade Lowe 7 Completed
31 80 74040 2016-09-08 Penelope Moss 59 Completed
32 81 89592 2016-09-08 Chase Andrews 76 Completed
33 82 84334 2016-09-08 Fatima Mcconnell 4 Completed
34 83 91414 2016-09-08 Kelly Garcia 91 Completed
35 84 89834 2016-09-08 Aubrey Leblanc 41 Completed
36 85 71212 2016-09-08 Cassidy Dyer 33 Completed
37 86 14459 2016-09-08 Rina Lawrence 43 Completed
38 87 22844 2016-09-08 Malcolm Richard 17 Completed
39 88 43892 2016-09-08 Avye Fowler 55 Completed
40 89 72412 2016-09-08 Jeremy Randolph 22 Completed
41 90 64889 2016-09-08 Ray Clayton 46 Completed
42 91 5518 2016-09-08 Lynn Turner 64 Completed
43 92 91680 2016-09-08 Eric Guzman 84 Completed
44 93 31014 2016-09-08 Daphne Preston 27 Completed
45 94 92194 2016-09-08 Ivy Vazquez 81 Completed
46 95 12336 2016-09-08 Teegan Jimenez 26 Completed
47 96 93197 2016-09-08 Quemby Floyd 88 Completed
48 97 74732 2016-09-08 Aristotle Harris 62 Completed
49 98 81261 2016-09-08 Abel Floyd 43 Completed
50 99 21141 2016-09-08 Liberty Gomez 32 Completed
51 128 5 2016-09-09 44 55 33
52 129 0 0000-00-00 0
53 130 0 0000-00-00 0
54 131 2222 2016-12-08 sdfsdfc 0 yxcyxc
55 132 -1 2016-12-18 ggg 12 p
56 133 0 0000-00-00 candikel 300
57 134 20 2016-12-07 ason 200 ok
58 135 1 2016-12-15 qsd 0 0
59 136 0 0000-00-00 0
60 137 -1 2016-12-21 candikel 12 p
61 138 444 2016-12-01 ppp 10 0
62 140 4 2017-10-11 de 3 45
63 141 4 2017-10-11 de 3 45
64 142 1 2017-10-04 jjkj 123 2323
65 143 77 2017-10-02 A 122 Started
66 144 0 0000-00-00 0
67 145 99899 2017-10-07 Nine Nine 9900 Pending
68 146 0 0000-00-00 0
69 147 1 2017-10-06 zz 0 ss
70 148 2 2017-10-13 dsad 0 sad
71 149 123 2017-10-11 sadfsd 23 sdf
72 150 1 2017-10-12 Avina 1234 2
73 151 0 0000-00-00 0
74 152 24525 2017-10-12 234525 243525 243525
75 153 24525 2017-10-12 234525 243525 243525
76 154 24525 2017-10-12 234525 243525 243525
77 155 123 2017-10-17 shafiq 200 0,1
78 156 99 2017-10-18 sdfg 0 sdfgsdfg
# ID Order no Order date Customer name Order amount Order status