How To Delete Multiple Item From Ionic 3.3 List


How To Delete Multiple ion-item From Ionic 3.3 List Using CheckBox
here’s my code i want to delete multiple student from the list using checkbox

  <ion-col col-10>

  <ion-col col-1>
    <button ion-button full color="secondary" (click)="updateStudent(student)">
      <ion-icon name="create"></ion-icon>
  <ion-col col-1>
    <button ion-button full color="danger" (click)="deleteStudent(student)">
      <ion-icon name="md-close"></ion-icon>



I must be missing something, but I see no checkboxes.


[SOLVED] Finally Got The Answer When Click On Multiple Delete Button Open New Navigation Page And Then Give User To Select Items.


  <ion-navbar color="perpol">


<ion-content padding>

    <ion-row *ngFor="let student of students">
      <ion-col col-12>

        <ion-list no-lines>

            <ion-item-options side="right">
              <button ion-button color="secondary" (click)="updateStudent(student)"> <ion-icon name="create"></ion-icon></button>
              <button ion-button color="danger" (click)="deleteStudent(student)"> <ion-icon name="md-close"> </ion-icon></button>



  <ion-fab right bottom>
    <button ion-fab color="perpol" (click)="createStudent()">
      <ion-icon name="add"></ion-icon>

    <ion-item *ngFor="let student of students">
      <ion-checkbox (click)="deleteMultipel(student)" color="danger"></ion-checkbox>

<button ion-button color="secondary" (click)="logDeleteStudents()">DELETE</button>

  deleteMultipel(student) {
    let index = this.deleteSelected.indexOf(student);
    if (index !== -1) {
      this.deleteSelected.splice(index, 1);
    else {
  logDeleteStudents() {
    this.deleteSelected.forEach((student) => {
    this.deleteSelected = [];


Screen real estate is pretty precious on mobile apps. If you have more than a few students, having them all be listed twice in the same page is going to get ugly. Why is the “delete many at once” feature so important? You have to click on even more buttons to use it than you would to do the equivalent action deleting one at a time.


Yes Screen Looks Ugly But I Created This Page Just For Test Logic