Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Data table control allows listing multiple records. Besides being similar to other content controls such as Table Content Control, it offers a better performance and has built-in pagination. It also allows displaying links in the content.

...

Required for Group

Include Page
_Required for Group
_Required for Group

Section Name

Include Page
_Section Name
_Section Name

Dynamic Rules

Include Page
_Dynamic Rules
_Dynamic Rules

Data 

XPath to data model to be attached. If set to empty parent data element is used.

Bound XPath 

Include Page
_Bound XpathXPath
_Bound XpathXPath
 

Row Id XPath
Give a specific Id for each row by filling this box with an XPath. 

Item XPath
Items of a data table content change depending on this setting. Default is " * " which sets it to regard all items as in the same structure. If you want to use different contents for different items you should dictate it by specifying an XPath. 

Hierarchy XPath

Include Page
_Hierarchy XPath
_Hierarchy XPath

Filter XPath
Filters rows according to this Xpath. The rows will display if their Filter XPath return true.

Export to Excel

This control allows you to export your records to excel. In order to accomplish this, all you have to do is, enable AllowExport in DataExchange and define the columns in this property.

Code Block
languagexml
<DataExchange AllowImport="False" AllowExport="True">
        <Columns>
            <Column Caption="Form No" Type="Text">
                <XPath><![CDATA[FormNo]]></XPath>
            </Column>
            <Column Caption="Owner" Type="Text">
                <XPath><![CDATA[Owner]]></XPath>
            </Column>
            <Column Caption="Date" Type="DateTime">
                <XPath><![CDATA[FormDate]]></XPath>
            </Column>
        </Columns>
    </DataExchange>

Sort XPath
Sorts rows with respect to this XPath.

...

Allow Moving XPath
Xpath to control item movement in the list. Please use "0" to disable for always.

Allow Move Up/Down XPath
Xpath to control vertical item movement in the list. Please use "0" to disable for always. 

Allow New XPath
Xpath to control adding new items movement to the list. Please use "0" to disable for always. 

Allow Delete XPath
Xpath to control deleting items movement from the list. Please use "0" to disable for always.  

Allow Delete All XPath
Xpath to control and clear the list. Please use "0" to disable for always. 
  

Monitored XPaths
Include PageMonitored XPathsMonitored XPathsIt will be updated.

Other properties

  • Cut is used to move data table  contentcontent.
  • Copy is used to copy data table content.
  • Delete is used to delete data table content.
  • XML is used to view or add xml XML of the data table content.
  • Convert is used to change data table content to other content controls.
  • Add new is used to add the new columns in to table.

...

It is also possible to format the data that you want to show. To accomplish this you should use the Template property.

 

Code Block
languagexml
        <Column Align="Left" Type="Text" XPath="">
            <Label>
                <Content><![CDATA[İmhaDeadline TarihiDate]]></Content>
            </Label>
            <Template><![CDATA[{{format(ImhaTarihiDeadlineDate,'dd/MM/yyyy')}}]]></Template>
            <Footer>
                <Content><![CDATA[]]></Content>
            </Footer>
        </Column>
		<Column Align="Left" Type="Text" XPath="">
            <Label>
                <Content><![CDATA[Transaction Name]]></Content>
            </Label>
            <Template><![CDATA[<a href="#/workitem/{{Transaction/TransactionWorkItemId}}" target="_blank">{{Transaction/TransactionName}}</a>]]></Template>
            <Footer>
                <Content><![CDATA[]]></Content>
            </Footer>
        </Column>

...