Bulk Delete

[xcrud]
    $xcrud = Xcrud::get_instance();
    $xcrud->table('million');
    $xcrud->limit_list('20,50,100,1000'); // do not use 'all' for large tables
    $xcrud->bulk_select_position('left'); //It can be 'left' or 'right'
    //$xcrud->set_bulk_select(false);
    $xcrud->set_bulk_select(false,'cd_key','=','EBGC57SXM-VW47I6AF-401X7DYM');//Dont be able to select records with ID 287846
    $xcrud->unset_remove(true,'cd_key','=','EBGC57SXM-VW47I6AF-401X7DYM');
    $xcrud->create_action('bulk_delete', 'bulk_delete'); // action callback, function publish_action() in functions.php
    echo $xcrud->render();
[/xcrud]

Million

# User Id Cd Key Sum Activated  
1 269319 E8XMDYVP3-7J9HNGW5E-MR5UHRHLN 1.44 No
2 269319 F9TK4W8JR-82RRKYU5E-OE2KX0RLN 1.44 No
3 269319 FPEP2DT9G-8B0ISA1HY-P2YQ2PC0D 1.44 No
4 269319 FZ15YOSUV-8G3R1H2TE-PIC1GKK9N 1.44 No
5 269319 GEH8E9YIS-8O9TQB9HY-Q7036180D 1.44 No
6 269319 GZRXSWVFB-8ZJANK1HE-R50IZHQXN 1.44 No
7 269319 H6HBQP5HJ-932YAWOTE-RFQ0XNI9N 1.44 No
8 269319 HYX5CZUZR-9I4ECII5E-SP531SFLN 1.44 No
9 269319 IX0EQXD47-A05FJMSTE-U7L1BIY9N 1.44 No
10 269319 J5WHNO7HJ-A4UPEHOTE-ULS7K8I9N 1.44 No

Search