Re: All grid values to md array
Posted: Wed Feb 09, 2022 1:43 am
Thank you very much Jimmy, Salinetas and Franco !!! I'll try your solutions tomorrow.
Muchas gracias Jimmy, Salinetas y Franco !!! Mañana pruebo sus soluciones.
Jimmy, since almost always the data to load in the grid comes from SQL and has a fixed number of columns, I use:
You say that if I use " ITEMS aData " directly instead of my usual routine (shown above) when I edit a cell it will be reflected in the array ?
That would be exactly what I'm needing !!!
Muchas gracias Jimmy, Salinetas y Franco !!! Mañana pruebo sus soluciones.
Jimmy, since almost always the data to load in the grid comes from SQL and has a fixed number of columns, I use:
Code: Select all
DoMethod ("Cortes" , "Grid_1" , "DeleteAllItems")
If HMG_Len ( aTable ) > 0
For i := 1 To HMG_Len ( aTable )
DoMethod ("Cortes" , "Grid_1" , "AddItem" , aTable [i])
Next
EndIf
That would be exactly what I'm needing !!!