İçereği Atla
Menü
Bu soru işaretlendi
968 Görünümler

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??

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Nis 21
3878
2
May 19
20830
0
Mar 17
2721
3
May 16
5519
11
Eki 24
99743