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
135
I need to get the dataSource of a combo inside a grid on successful create.
posted

The task at hand : 
Background : I have a grid with several columns and one of them is a combo. I use rowEditTemplate. This is SPA app - no refreshes.

When I Create new grid item and select from this combo I see the list of the items as expected. But after successful creation of a new grid item I want to change the combo items : For example : I create an item choosing the first element of the combo and when I start creating a grid item again I want to see an indicator in the combo list item like "ComboListItem1 (is used already)".

My initial thought was to add my custom success handler and from there to get the datasource of the combo and call dataBind which will reGet the combo data with the new list. So far I was able to call dataBind() only on the grid itself but not in the combo datasource. 

How can I get to the combo datasource? 

Parents Reply Children
No Data