Sencha grid checkcolumn 체크된 row 가져오기

2025. 1. 6. 23:30Javascript/Sencha

const store = this.up('grid').getStore();
const selection = store.getRange().filter(record => record.get('selected') === true);
const data = selection.map(record => record.getData());
console.log(data);