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();
                            

Deprecated: Optional parameter $op declared before required parameter $task is implicitly treated as a required parameter in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrud.php on line 983

Deprecated: Creation of dynamic property PDOCrud::$langData is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrud.php on line 2227

Deprecated: Optional parameter $page declared before required parameter $totalrecords is implicitly treated as a required parameter in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrudHelper.php on line 191

Deprecated: Optional parameter $parameters declared before required parameter $data is implicitly treated as a required parameter in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrudTableFormat.php on line 122

Deprecated: Creation of dynamic property PDOModel::$characterSet is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOModel.php on line 119

Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOModel.php on line 1011

Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOModel.php on line 1011

Deprecated: Creation of dynamic property PDOModel::$characterSet is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOModel.php on line 119

Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOModel.php on line 1011

Deprecated: Creation of dynamic property PDOCrud::$dataHTML is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrud.php on line 2379

Deprecated: Creation of dynamic property PDOCrud::$fieldList is deprecated in /home3/openscri/public_html/masinosinaga/pdo-crud/script/classes/PDOCrud.php on line 2380

Showing 1 to 3 of 69 entries

# ID Order no Order date Customer name Order amount Order status
1 41 76778 2016-09-08 Pending
2 42 66729 2016-09-08 Completed
3 43 62940 2016-09-08 Completed
# ID Order no Order date Customer name Order amount Order status