CK Editor & Custom

[xcrud]
    Xcrud_config::$editor_url = dirname($_SERVER["SCRIPT_NAME"]).'/../editors/ckeditor/ckeditor.js'; // can be set in config
    $xcrud = Xcrud::get_instance();
    $xcrud->table('orders');
    $xcrud->change_type('status','select','','On Hold,In Process,Resolved,Shipped,Disputed,Cancelled');
    $xcrud->change_type('orderDate','none');
    echo $xcrud->render();
[/xcrud]

Orders

# Orderdate Requireddate Shippeddate Status Comments Customernumber  
1 2003-02-11 00:00:00 29.07.2020 00:00:00 30.07.2020 00:00:00 Shipped Great 363
2 2003-01-29 00:00:00 29.01.2003 00:00:00 11.01.2003 00:00:00 Shipped Check on availability. 128
3 2003-01-10 00:00:00 18.01.2003 00:00:00 14.01.2003 00:00:00 Shipped Great Great 181
4 2003-01-29 00:00:00 20.02.2003 00:00:00 02.02.2003 00:00:00 Shipped MMM 121
5 2003-01-08 00:00:00 09.02.2003 00:00:00 19.02.2003 00:00:00 Shipped Hi 141
6 2003-02-11 00:00:00 21.02.2003 00:00:00 12.02.2003 00:00:00 Shipped Item 1 145
7 2003-02-17 00:00:00 24.02.2003 00:00:00 21.02.2003 00:00:00 Shipped Great Item 278
8 2003-02-24 00:00:00 03.03.2003 00:00:00 26.02.2003 00:00:00 Shipped Difficult to negotiate with customer. We need… 131
9 2003-03-03 00:00:00 12.03.2003 00:00:00 08.03.2003 00:00:00 Shipped 385
10 2003-03-10 00:00:00 19.03.2003 00:00:00 11.03.2003 00:00:00 Shipped Customer requested that FedEx Ground is used for… 486

Search