I need to add a choice field (dropdownlist) in each row of a JS Grid control. What is the PropertyID for a choice field. How to add a dropdown. Please assist.

i tried like this,but this didnt work

else if (dc.DataType == typeof(Enum))

                gf.PropertyTypeId = "Enum";

                gf.Localizer = (ValueLocalizer)delegate(DataRow row, object toConvert)
                    return toConvert == null ? "" : toConvert.ToString();

                gf.SerializeLocalizedValue = false;

                gf.SerializeDataValue = true;


Please provide the solution

Thanks in advance !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.