Open KhoaKD91 opened 7 years ago
I have same problem....if you get answer then let me know on khatiwada_subash@ymail.com
No error, but still numeration label remains the old count when I recreated. :sweat:
It was my label function
getLabel: function(character, row, column) {
return firstSeatLabel++;
},
Just need to reset firstSeatLabel
to 1
before create the next instance.
I using $('.seatCharts-row').remove(); $('.seatCharts-legendItem').remove(); $('#seat-map,#seat-map *').unbind().removeData(); to refresh map is ok but has error: TypeError: seats[seatCharts.attr(...)] is undefined??? and then I refresh map one time datamap iss update but chart map don't change. please help me.
seatCharts.attr('aria-activedescendant')
contains the ID. When you change the map, seems like this is not reset. In order to solve this, reset this attribute too:
$('.seatCharts-row').remove();
$('.seatCharts-legendItem').remove();
$('#seat-map,#seat-map *').unbind().removeData();
$('#seat-map').attr('aria-activedescendant', null); // <--- this
@KhoaKD91 @SubashKhatiwada I faced this issue too, so I solved by resetting the aria-activedescendant
attribute in addition to other steps.
I using $('.seatCharts-row').remove(); $('.seatCharts-legendItem').remove(); $('#seat-map,#seat-map *').unbind().removeData(); to refresh map is ok but has error: TypeError: seats[seatCharts.attr(...)] is undefined??? and then I refresh map one time datamap iss update but chart map don't change. please help me.