Skip to Content
0

sap.m.SelectDialog ​Cannot read property 'destroy' of undefined

Apr 11, 2017 at 08:33 AM

40

avatar image
Former Member

I use sap.m.SelectDialog. When I try search a number. I have a problem with display list. I just get list about 15-20 items and wait. I attached scrin.

If I search a string it is work.

Cannot read property 'destroy' of undefined 1.44.10 (built at 201703142144, last change ) sap.m.SelectDialog

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Akhilesh Upadhyay Apr 11, 2017 at 09:00 AM
0

share you search function or dialog related code.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member
 			var sValue = oEvent.getParameter("value");
 			var oBinding = oEvent.getSource().getBinding("items");
 			var oFilter = new Filter("Fictr", sap.ui.model.FilterOperator.Contains, sValue);
 			oBinding.filter([oFilter]);

//If did not find any items, use search at another field.
 			if (oBinding.getContexts().length < 1) {
 				oFilter = new Filter("Bezeich", sap.ui.model.FilterOperator.Contains, sValue);
 				oBinding.filter([oFilter]);
 			}
0