On a list view when you select the checkboxes manually or select the checkbox on the top of the list which selects all records that are visible, the data returned from the list are in a json format like below.
But when you select all possible row by opening the dropdown next to the checkbox on the top row and click on "Select All Results" this is the data returned from the list and it looks like it does not contain anything id related...
How can i get the records ids in this format?
PS: On the espo source code (list.js) it looks like when all results are checked it skips the data.ids value assignment...
But when you select all possible row by opening the dropdown next to the checkbox on the top row and click on "Select All Results" this is the data returned from the list and it looks like it does not contain anything id related...
How can i get the records ids in this format?
PS: On the espo source code (list.js) it looks like when all results are checked it skips the data.ids value assignment...
Code:
if (this.allResultIsChecked) { data.where = this.collection.getWhere(); data.searchParams = this.collection.data || {}; data.selectData = data.searchData; // for bc; data.byWhere = true; // for bc } else { data.idList = idList; // for bc data.ids = idList; }
Comment