Bulk Records Update Update many records directly on crud table (added in version 1.9)

You can update multiple rows of data directly in table using the bulkCrudUpdate function. It allows data update directly in crud table so you can update multiple rows of data very fast. You can apply this function for more than a column to update multiple column data simultaneously. After change on data, You need to press the save button on the top of the table (near add button) to save the entries. Please note that this function works with single table only having primary key in columns.

  
                            $pdocrud = new PDOCrud();
                            //$pdocrud->bulkCrudUpdate("customer_name", "textarea",array("data-some-attr" =>"some-dummy-val"));
                            $pdocrud->bulkCrudUpdate("order_amount", "text",array("data-some-attr" =>"some-dummy-val"));
                            $pdocrud->bulkCrudUpdate("customer_name", "select", array("data-cust-attr" =>"some-cust-val"),array(
                                        array(
                                            "Xenos Clarke",
                                            "Xenos Clarke"
                                        ),
                                        array(
                                            "Cooper Jensen",
                                            "Cooper Jensen"
                                        ),
                                        array(
                                            "Deacon Tyson",
                                            "Deacon Tyson"
                                        )));
                        //lets also remove action buttons(edit/delete/view) and checkbox(optional)
                        $pdocrud->setSettings("actionbtn", false);
                        $pdocrud->setSettings("checkboxCol", false);
                        echo $pdocrud->dbTable("orders")->render();
                            

Showing 1 to 10 of 13 entries

# ID Order no Order date Customer name Order amount Order status
1 172 27 0000-00-00 6
2 173 33 2025-09-02 Completed
3 174 0 0000-00-00
4 175 23 2025-09-17 ok
5 176 0 0000-00-00
6 178 33 2025-09-02 ok
7 179 33 2025-09-02 ok
8 182 1 2025-07-01 Pending
9 184 576749678 2025-09-03 asdas
10 185 0 0000-00-00 1
# ID Order no Order date Customer name Order amount Order status