var SelectionRows = $('#' + grid).datagrid('getSelections');grid是id。getSelections是方法。用法:Return all selected rows, when no record selected, am empty array will return. 返回所有选定行,选择时没有记录,我将返回空数组。