![]() |
crud operations within datatables - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: crud operations within datatables (/showthread.php?tid=82318) |
crud operations within datatables - Ahmed Haroon - 06-30-2022 we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step guide. regards RE: crud operations within datatables - spreaderman - 07-02-2022 (06-30-2022, 04:01 AM)Ahmed Haroon Wrote: we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step guide. I do not know Pik admin panel but here is a tutorial for CI4, datatables and covers CRUD. https://www.tutsmake.com/codeigniter-4-ajax-crud-with-datatables-and-bootstrap-modals/ There are lots of materials covering this and even in these forums. You just need to search. RE: crud operations within datatables - Ahmed Haroon - 07-03-2022 thanks @spreaderman for the link. i searched but various i found that are using datatables just to view and select a row for Edit/Delete actions and had a button on top for Create action NOT within a row to Add more row(s). i do not want to use any "form" but just grid (like: datatables) for all 3 actions. i will check this and confirm here. regards RE: crud operations within datatables - Ahmed Haroon - 07-03-2022 hi @spreaderman i read the code of book_view.php its function add_book() PHP Code: function add_book() this will open a Modal form ... so, this is what i am Not looking for. already mentioned in my first post of this topic that " only Datatable for CRUD operations " regards screenshot: (like this) ![]() RE: crud operations within datatables - InsiteFX - 07-04-2022 Codeigniter 4 CRUD with Datatables Example RE: crud operations within datatables - Ahmed Haroon - 07-04-2022 @InsiteFX very sorry for any inconvenience. already mentioned that need CRUD example which using ONLY Datatables and nothing else. No form or Modal form for Add/Edit actions. in my screenshot, highlighted buttons in every row is to Add a row for Create action (create new record). hope this cleared. regards RE: crud operations within datatables - nfaiz - 07-04-2022 (06-30-2022, 04:01 AM)Ahmed Haroon Wrote: we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step guide. You can try Datatables editor https://editor.datatables.net/examples/inline-editing/submitButton.html ![]() RE: crud operations within datatables - Ahmed Haroon - 07-04-2022 thanks @nfaiz in a first look, i think this is what i want but is there anything i can have those buttons New/Edit/Delete with every row like in my screenshot (it means it is possible)? because this will by annoying that to add a New row user should go up and insert a new row to create a record. will check it and discuss more experts for How To's. regards RE: crud operations within datatables - InsiteFX - 07-05-2022 You can take a look at this, it's an AdminLTE backend using Myth/Auth and DataTables. Packages Boilerplate Most of it is in jQuery RE: crud operations within datatables - Ahmed Haroon - 07-05-2022 thank you @InsiteFX trying to help us. will check it too. regards |