Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
La selección múltiple de kendo-grid no funciona con la función de arrastre

Estoy tratando de crear una cuadrícula de Kendo con funcionalidad de selección múltiple y el usuario puede seleccionar varias filas arrastrando una selección de clic del mouse.

HTML:

 <kendo-grid #idGrid [selectable]="selectableSettings” (selectionChange)="OnSelectionChanged($event)">

COMPONENTE:

 public selectableSettings: SelectableSettings; constructor(){ this.setSelectableSettings(); } public setSelectableSettings(): void { this.selectableSettings = { mode: "multiple", drag: true}; } OnSelectionChange(e){ for(let item of e.selectedRows){ this.selectedRows.push(item.dataItem); } for(let item of e.deselectedRows){ this.selectedRows = this.selectedRows.filter(x => x.Id === item.dataItem.Id); } }

El arrastre funciona como se esperaba y las filas se seleccionan con el arrastre del mouse, sin embargo, el problema es que la nueva selección de arrastre posterior ANULA LA ÚLTIMA SELECCIÓN incluso si el usuario presiona el botón MAYÚS

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!