//如果flag="0"就表示人员列表是单选,否则为多选
if (flag == "0")
{
RowSelectionModel sm = this.DetailGridPanel.SelectionModel.Primary as RowSelectionModel;
RowSelectionModel ss = new RowSelectionModel();
ss.ID = "RowSelect";
this.DetailGridPanel.SelectionModel.Remove(sm);
this.DetailGridPanel.SelectionModel.Add(ss);
}
if (flag == "0")
{
RowSelectionModel sm = this.DetailGridPanel.SelectionModel.Primary as RowSelectionModel;
RowSelectionModel ss = new RowSelectionModel();
ss.ID = "RowSelect";
this.DetailGridPanel.SelectionModel.Remove(sm);
this.DetailGridPanel.SelectionModel.Add(ss);
}