Grid.SelectedIndexChanged += new EventHandler(Grid_SelectedIndexChanged);
void Grid_SelectedIndexChanged(object sender, EventArgs e)
{
DataItem item = Grid.SelectedItems[0].DataItem;
}
未应用过滤器时,所选项目是好的。但是当应用过滤器时,网格只显示过滤的项目,这是正确的。But when the item is selected it's bringing in the item from the full list instead of the filtered.