这个要先对this.parentDataGrid.selectedItems赋值..因为checkBox为多选..那么选中的会是多条.通过selectedItems来取selectedIndices...返回的是选中数组..及索引.
怎么还有弹出页面,parentDataGrid是哪里来的