For some time now, I've been experiencing the data in my 'datagrid 3' not showing, from time to time, as a result of running some code. I thought it might have been my old desktop (Windows) at fault, but it's just happened again on a new laptop (Windows). I had just edited the dg prior to running the code. The code I ran was code I had run numerous times before, without loss of visibility of data. I tried running dispatch "resetlist" to get the data visible but it did not do it. In the past I havr resorted to saved version to get it back but then I lose work done since that version. Also, I would like to build in code to regain the visibility in case it might happen in the standalone.
I tried this
Code: Select all
put ehe dgprops["columns"] of grp "datagrid 3" into tColumns
repeat for each line tColumn in tColumns
set the dgColumnIsVisible[tColumn] of grp "datagrid 3" to true
end repeat
Anyone any ideas ?