Reputation: 63
The tabulator table renderComplete event is being called multiple times (3x in my case) when the table is first built or a table redraw(true) is done. The tableBuilt event is called once only after the very first build and after the first 3x renderComplete events.
Should renderComplete be called multiple times with each visible redraw?
I am adding a cell click event handler for filtering when the table is not editable (I used a checkbox for that). I initially added the event code in the tableBuilt event, but then realized it was lost with each redraw. And so I moved the addition of the cell click event handler to the renderComplete event which worked. I then realized renderComplete was being called multiple times each time the table redraw(true) was called, for example; and that seemed odd.
I went down this rabbit hole because I'm trying to debug why when I show nested tables, I can no longer use the rowHeader checkbox to select a row (it basically does nothing when I click on the checkbox). Not sure if this is all related?
Upvotes: 0
Views: 23