(SmartClient_v91p_2014-03-20_Pro)
I want to add a HeaderSpan to a ListGrid in component XML. The ListGrid expects an Array of HeaderSpan, which is fine, but HeaderSpan expects an array of String for the "fields" attribute. I can't find an example of how to create an Array of String in XML.
My code currently looks like this:
Can you advise the correct way to specify the "fields" attribute of a HeaderSpan?
Andrew
I want to add a HeaderSpan to a ListGrid in component XML. The ListGrid expects an Array of HeaderSpan, which is fine, but HeaderSpan expects an array of String for the "fields" attribute. I can't find an example of how to create an Array of String in XML.
My code currently looks like this:
Code:
<ListGrid ...> <fields> <ListGridField name="field1" ... /> <ListGridField name="field2" ... /> <ListGridField name="field3" ... /> </fields> <headerSpans> <HeaderSpan> <title>Span title</title> <fields> <String>field1</String> <String>field2</String> <String>field3</String> </fields> </HeaderSpan> </headerSpans> </ListGrid>
Andrew
Comment