调用StartEditing后,不弹出列表;
private void xButton5_Click(object sender, EventArgs e)
{
var c = xFlexGridBS1.Cols[1];
c[0] = 1;
c[1] = 2;
c[2] = 3;
c[3] = 4;
c[4] = 2;
var dic =new Dictionary<int, string>();
dic[0] = "q";
dic[1] = "ssss";
dic[2] = "aaa";
dic[3] = "zzz";
c.DataMap = dic;
xFlexGridBS1.AfterEdit += XFlexGridBS1_AfterEdit;
}
private void XFlexGridBS1_AfterEdit(object sender, C1.Win.C1FlexGrid.RowColEventArgs e)
{
MessageBox.Show(e.ToString());
}
private void xButton6_Click(object sender, EventArgs e)
{
xFlexGridBS1.StartEditing(2, 1);
}
|
|