I am trying to use the datatables.js plugin with a datatable that displays 3 computed fields from a Notes legacy view data source.What I am having an issue with is I cannot seem to initialize/pass my datatable1 into the plugin? I am not sure if I have the correct libraries for the datatables.js. Any insight will be appreciated. Thanks in advance. SW
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.data>
<xp:dominoView var="view1" viewName="MyName"></xp:dominoView>
</xp:this.data>
<xp:this.resources>
<xp:script src="/dataTables.js" clientSide="true"></xp:script>
<xp:script
src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css"
clientSide="true">
</xp:script>
<xp:script src="http://code.jquery.com/jquery-1.8.2.js"
clientSide="true">
</xp:script>
<xp:script
src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"
clientSide="true">
</xp:script>
</xp:this.resources>
<xp:eventHandler event="onClientLoad" submit="true"
refreshMode="norefresh">
</xp:eventHandler>
<xp:dataTable id="dataTable1" rows="10" value="#{view1}" var="rows">
<xp:column id="column1"><xp:this.facets>
<xp:span xp:key="header">Name</xp:span></xp:this.facets>
<xp:text escape="true" id="computedField1" value="#{rows.Name}"></xp:text></xp:column>
<xp:column id="column2">
<xp:text escape="true" id="computedField2" value="#{rows.Age}"></xp:text>
<xp:this.facets>
<xp:span xp:key="header">Age</xp:span></xp:this.facets></xp:column>
</xp:dataTable>