[Gambas-user] Array data to Gridview?

Riccardo scribe at ...3643...
Mon Feb 6 22:24:17 CET 2017


Hi,






> I have a multidimensional array with 32,000 records. It takes quite a while to load this into a Gridview, and even longer if I provide the user with some feedback during the process (an updating label, a progress bar and so on...).

 

> Is there a faster way to load the array data into the Gridview? Currently, I'm iterating over the array and updating the Gridview cell by cell. Should I hide the Gridview during this process?
>
> For i = 1 To arr_Response.Length - 1 
>     For j = 0 To arr_Response[i].Length - 1 
>       grd_Response[i - 1, j].Text = arr_Response[i][j]
>     Next
> Next
>
> cheers.
>
>


More information about the User mailing list