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
905
How do I clear items in a DropDownProvider EditorControl
posted

Is it possible to add/remove items from the DropDownProvider/EditorControl at the client?

I have a specific set of values that are to be in the dropdown based upon the content of the WebDataGrid cell.  These values are available at the client.

For example, I've attempted to clear the dropdown items from the EditorControl (ddCtl)

items.get_length()remains the same,
and the
items.remove(items.getItem(0)) is performing an async postback

var items = ddCtl.get_items();

while (items.get_length())

       items.remove(items.getItem(0));

 

Any help would certainly be appreciated!

Thank you!

Parents Reply Children
No Data