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();
                            //Set column of the table as textbox
                            $pdocrud->bulkCrudUpdate("order_amount", "text",array("data-some-attr" =>"some-dummy-val"));
                            $pdocrud->bulkCrudUpdate("customer_name", "text",array("data-cust-attr" =>"some-cust-val"));
                            //lets also remove action buttons(edit/delete/view)  and checkbox also(optional)
                            $pdocrud->setSettings("actionbtn", false);
                            $pdocrud->setSettings("checkboxCol", false);
                            echo $pdocrud->dbTable("orders")->render();
                            

Showing 1 to 10 of 73 entries

# ID Order no Order date Customer name Order amount Order status
1 39 578 2016-09-30 Completed
2 40 93062 2016-09-08 qsdCompleted
3 41 76778 2016-09-08 Pending
4 42 66729 2016-09-08 Completed
5 43 62940 2016-09-08 Completed
6 44 22241 2016-09-08 Completed
7 45 40334 2016-09-08 Completed
8 46 30771 2016-09-08 Completed
9 47 96349 2016-09-08 Completed
10 48 72881 2016-09-08 Completed
# ID Order no Order date Customer name Order amount Order status