Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Opening ValueList upon event
posted

Hello,

I am stuck on this simple issue.  For example, I want to open a ValueList when I enter a cell that has a ValueList associated with it or click the cell that has a ValueList associated with it.  I have tried different parameters that don't work and I think I am looking at this wrong.  How can I do something like this?  Thank you!!!

private void ultraGrid1_ClickCell(object sender, ClickCellEventArgs e)

{

 if (e.Cell.Column.ValueList.ToString() == "Category")

  {

     e.Cell.Column.ValueList.DropDown(new Rectangle(0, 0, 10, 10), 0, "Advance Directive");

  }

}