Closed zpxp closed 2 years ago
I can destroy gridTable under cellContainer.onClick()
callback well.
cellContainer.onClick(function(){
gridTable.destroy()
})
Please provide a simplest runnable test code to represent this issue.
BTW, there are some input events, and these input events work well with scroller: true
. See this demo, line 119-171.
When using
GridTable
and clicking on a row,this.table
inPointToCell
is null. This means the rest of the event queue crashes due to null ref error.My grid table looks like this
And the container callback looks like this
The table exists within a
Dialog
and clicking on the row closes it. Maybe check ifthis.table
is null and do nothing if it is.