CreateValidation Question (GridWeb)

I have a question regarding the implementation of validation with the grid web. Basically I’d like to create a dropdown list which displays text, but be able to store an accessible ID as well. So the user sees ‘Location1’ and from that I can access ID01 – much like how the standard dropdown control works?

Currently using this:

cell.CreateValidation(Aspose.Cells.GridWeb.ValidationType.DropDownList, true);

cell.Validation.ValueList.Add("Location1");

Any suggestions

Hi,


I am afraid, currently Aspose.Cells.GridWeb does not support creating controls (e.g DropDown List / ComboBox etc.). It does support Data Validation (“DropDownList”) that works similar way as per MS Excel’s List Data Validation which does not work like common Drop Down List or Combobox control.

Thank you.