Hello,
I have a TTMSFNCDataGrid which I use often, changing the datasource by changing the connected TTMSFNCDataGridDatabaseAdapter
This is a part of re-inicialization procedure:
`If MyGrid.IsGrouped Then`
MyGrid.Ungroup();
… at certain point MyGrid.Ungroup() does “Range check error.“ How can I avoid it?
This is the log:
0068ebf6 +002e GyA.exe System 36830 +9 DynArraySetLength
0068ee95 +0005 GyA.exe System 37003 +3 @DynArraySetLength
01020618 +003c GyA.exe FMX.TMSFNCDataGridCore 2307 +3 TTMSFNCDataGridCore.UpdateCumulativeCache
0102075f +002f GyA.exe FMX.TMSFNCDataGridCore 2342 +4 TTMSFNCDataGridCore.UpdateVisualRange
0101e0c7 +0023 GyA.exe FMX.TMSFNCDataGridCore 1224 +1 TTMSFNCDataGridCore.IsRowHidden
0101d25f +004b GyA.exe FMX.TMSFNCDataGridCore 899 +6 TTMSFNCDataGridCore.GetRowHeight
0101d64f +0067 GyA.exe FMX.TMSFNCDataGridCore 1022 +8 TTMSFNCDataGridCore.GetTotalFixedRowHeight
01020320 +0018 GyA.exe FMX.TMSFNCDataGridCore 2238 +2 TTMSFNCDataGridCore.Update
01118550 +0040 GyA.exe FMX.TMSFNCDataGridRenderer 16068 +6 TTMSFNCDataGridRenderer.Update
0101f05c +0014 GyA.exe FMX.TMSFNCDataGridCore 1625 +4 TTMSFNCDataGridCore.DoUpdate
0101e609 +0029 GyA.exe FMX.TMSFNCDataGridCore 1344 +3 TTMSFNCDataGridCore.EndUpdate
0106301e +0232 GyA.exe FMX.TMSFNCDataGridData 7357 +47 TTMSFNCDataGridData.Ungroup
0116373f +000f GyA.exe FMX.TMSFNCDataGrid 6584 +1 TTMSFNCCustomDataGrid.Ungroup
Thank you!