callbackDelete not working when table is set to view mysql

when i use view as table and then i want to delete some record
thereis showing error
ErrorException: Trying to access array offset on value of type bool in file D:\xxx\www\xxx\vendor\grocerycrud\enterprise\src\GroceryCrud\Core\Model.php on line 321

whereas i have set primarykey with $crud->setPrimaryKey(‘id’, ‘v_tr_barang_masuk’);
and i have sett callback delete to delete real table not to view table

Hi @nasrul ,

I think views are read-only… but I think its possible to delete the record based on its primary key and using a call back. :blush: