x11 Posted July 17, 2020 Posted July 17, 2020 Как правильно удалить текущую страницу, на которой лежит картинка? Процесс наполнения здесь При удалении - ошибка: Cannot set property 'ownerCmp' of null. Удаляю просто: carouselPhotos.ActivePage.Free; вижу здесь похожую ошибку но там 2018 год и старая версия ExtJS. Неужели до сих пор не исправили? Quote
Sherzod Posted July 17, 2020 Posted July 17, 2020 2 minutes ago, x11 said: вижу здесь похожую ошибку но там 2018 год и старая версия ExtJS. Неужели до сих пор не исправили? Здравствуйте, Кажется и для версии 6.6.0: https://forum.sencha.com/forum/showthread.php?468755-6-5-2-Removing-an-item-from-Ext-carousel-Carousel-throws-exception&p=1319894&viewfull=1#post1319894 Quote
Sherzod Posted July 17, 2020 Posted July 17, 2020 9 minutes ago, x11 said: так а сейчас версия 7,0 в UniGUI Да, я знаю. 29 minutes ago, x11 said: Неужели до сих пор не исправили? Возможно да, что не исправили. И возможно, что это вопрос не к UniGUI. Мы постараемся проанализировать. 1 Quote
Sherzod Posted July 17, 2020 Posted July 17, 2020 17 minutes ago, x11 said: Я так понял, решение какое-то есть? Попробуйте такое решение: UnimCarousel.ClientEvents.UniEvents -> function afterCreate(sender) { Ext.Decorator.override({ applyComponent: function(config) { var result = Ext.factory(config); if (result) { result.ownerCmp = this; } return result; } }); } 1 Quote
gerhardhziegler Posted September 24, 2024 Posted September 24, 2024 Gentlemen, I am using UniGui 1.95.0.1579 and still I am not able to remove pages from the carousel. The error nGetID is not a function. I applied the code as shown above to the UnimCarousel, without any change the error persists. Any thoughts or workarounds? My code is a gallery, where pictures and other content need to be loaded dynamically and removed of course (depends on number of pictures) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.