I am using this snippet to resize column width based on text for a B4XTable
www.b4x.com
It calls a refresh function in the end of "dataupdated" event
b4xtable > refresh > refresh2 > updatedata > ImplUpdateDataFromQuery > DataUpdated > refresh (LOOP)
I'm sure I've messed something but this is the stack from debugger and verified manually in code.
How do I stop this loop without losing column resize functionality which is currently not part of B4XTable?
[B4X] B4XTable - Resize columns based on content
This code measures the required width based on the cells text and set it: Sub B4XTable1_DataUpdated Dim ShouldRefresh As Boolean 'NameColumn and NumberColumn are global B4XTableColumns that we want to measure For Each column As B4XTableColumn In Array(NameColumn, NumberColumn)...

It calls a refresh function in the end of "dataupdated" event
b4xtable > refresh > refresh2 > updatedata > ImplUpdateDataFromQuery > DataUpdated > refresh (LOOP)
I'm sure I've messed something but this is the stack from debugger and verified manually in code.
How do I stop this loop without losing column resize functionality which is currently not part of B4XTable?