Page 1 of 1

Multi-Delete code

Posted: Thu Nov 24, 2022 12:06 pm
by konfuzion

I'd like to emulate the select checkboxes / Multi-Delete function but for my own custom function. I can't seem to find the javascript/jquery for the multi-delete action.
Where can I find it?

I want to study:

  1. How to popup the multi-delete modal window
  2. How to collect the selected record id(s) to delete

Re: Multi-Delete code

Posted: Thu Nov 24, 2022 12:36 pm
by konfuzion

What I'd like to achieve is to, select a few detail records and then click [COPY SELECTED DETAIL RECORDS] (similar to clicking the trash icon).
then a custom modal window will popup and I can copy the selected records to a different MASTER table.


Re: Multi-Delete code

Posted: Thu Nov 24, 2022 2:18 pm
by mobhar

I suggest you to use Multi-Update logic.


Re: Multi-Delete code

Posted: Thu Nov 24, 2022 2:46 pm
by konfuzion

yes, multi-update seems to be the path of least resistance and still works within the phpmaker logic framework, tks for suggestion!