Hi,
I have set up a connection to a SQL Server database, and have built a ViewPanel that queries the database to display the data. Now what I'd like to do is, when a column is clicked, return the values to another window. Just having problems picking up the the column values. Have tried
var name='#{javascript:rowData.getColumnValue("PROJECT_NAME")}';
where rowData is the variable for the viewPanel and PROJECT_NAME is the name of the column. Am getting an error on this line
Error while executing JavaScript action expression
Script interpreter error, line=1, col=9: Unknown member 'getColumnValue' in Java class 'com.ibm.xsp.extlib.jdbc.model.JdbcDataBlockAccessor'
What's the correct way to get the value?
Thanks for any help