Hello!
I have just started working with XML files but I cant seem to load it correctly,
im using Delphi 10.3 and TMS component pack 9.0.4.0
When i load the XML file to AdvStringGrid by using:
AdvStringGrid.LoadFromXML('[File name]', True, True)
It offsets the rows by 1 column to the right and one extra row for each row.
Is there more settings that i have missed?
My first thought was that it maybe was some problem with the information in the row header when there is RowType="1" and RowNumber="1" included?
this is the rows of the xml file im trying to load:
<?xml version="1.0" encoding="UTF-8"?>
.
..
...
-<Rows>
-<Row RowType="1" RowNumber="1">
<Part Revision="W1" SupplierPartNumber="" PartNumber="02740794"/>
<Text>Toppspegel LSB 1248x620x4</Text>
<ReferenceNumber/>
<Quantity>8</Quantity>
<Unit>st</Unit>
<DeliveryPeriod>2019-10-18</DeliveryPeriod>
<Each>48.95</Each>
<Discount>0</Discount>
<Setup>0</Setup>
<Alloy>0</Alloy>
</Row>
-<Row RowType="1" RowNumber="2">
<Part Revision="W1" SupplierPartNumber="" PartNumber="02740972"/>
<Text>Toppspegel LSB 1248x385x4</Text>
<ReferenceNumber/>
<Quantity>38</Quantity>
<Unit>st</Unit>
<DeliveryPeriod>2019-10-18</DeliveryPeriod>
<Each>65.35</Each>
<Discount>0</Discount>
<Setup>0</Setup>
<Alloy>0</Alloy>
</Row>
</Rows>