I'm in trouble with the datagrid when assign data from an array.
It's a strange behavior, so after convert the XML to array and assign it to the datagrid, the datagrid only show the visibles rows and no vertical scrollbars appear. If I check the contents of the datagrid all the data appear but isn't scrollable...
What is wrong?
ANSWER: I must replace "myxml" for my own xml tag...

I have this code from the Trevors XML to Array stack:
on mouseUp
put the text of field 1 into theXML
replace cr with empty in theXML
-- Convert xml to array. Store data in array as UTF8.
put ConvertXMLToArray(theXML, "UTF-8") into theArray -- handler in RevOnline stack
-- Convert to an array that can be assigned to the dgData of a Data Grid (numerically indexed).
put SortArrayKeysWithXMLOrdering(theArray["myxml"]) into theKeys -- handler in RevOnline stack
put 0 into i
repeat for each line theKey in theKeys
add 1 to i
put theArray["myxml"][theKey] into theData
end repeat
-- Assign to datagrid
lock screen
set the dgData of group "dg1" to theArray[entries]
unlock screen
end mouseUp
The XML looks like... they have 400 records...
<entries>
<entry>
<CLI_ID>422</CLI_ID>
<CLI_Nombre>Son Japan</CLI_Nombre>
<CLI_NIF>3455567Y</CLI_NIF>
</entry>
<entry>
<CLI_ID>68</CLI_ID>
<CLI_Nombre>Son Kiev</CLI_Nombre>
<CLI_NIF>8081344R</CLI_NIF>
</entry>
</entries>
Salut,
Josep