تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
955 أدوات العرض

const patchListRendererSkit = {

    async setup() {

        await this._super(...arguments);  // Correctly await the base setup method

        this._onPinIconClick = this._onPinIconClick.bind(this);

    

        // Bind the pin icon click handler

        $(document).on('click', '.pin-icon', this._onPinIconClick);

    },


    // Override the sort column click handler

     onClickSortColumn(ev) {

      if (!(isPinIcon)){

      ​ this._super(...arguments);

      }    

    },

    

    _onPinIconClick(ev) {

        // Handle the pin icon click event

if (ev.currentTarget.className) {

isPinIcon = true 

} else {

isPinIcon = false

}

when i click the pin icon..sort function should not get call..what should i do??

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أبريل 21
3873
2
مايو 19
20815
0
مارس 17
2710
3
مايو 16
5515
11
أكتوبر 24
99717