This question is locked. New answers and comments are not allowed.
Hi,
I have a grid. When I select a row in that grid I fill a combobox with Items which belongs to that specific row.
So each time I select a row the combobox is filled with different items via an ajax call.
I have a delete button.
How do I empty the combobox with all it's items? When I click the delete button.
I can do another AJAX call and send no items with it to controller, this will return in my case en empty string back and the combo will be empty.
Is there a way I don't have to do an ajax call?
But just empty it client side.
Regards,
Gerard Eikelboom
I have a grid. When I select a row in that grid I fill a combobox with Items which belongs to that specific row.
So each time I select a row the combobox is filled with different items via an ajax call.
I have a delete button.
How do I empty the combobox with all it's items? When I click the delete button.
I can do another AJAX call and send no items with it to controller, this will return in my case en empty string back and the combo will be empty.
Is there a way I don't have to do an ajax call?
But just empty it client side.
Regards,
Gerard Eikelboom