Hi Isomorphic,
I am using "$criteria.COLUMN_NAME" in whereclause of the DataSource.
Below is the code snippet.
I attached this datasource with one of my listGrid, and the data in a grid loads well.
But, When i do a Filtering using the same ListGrid, I got an Error Popup like:
Unknown Column Name "$Criteria.temp_id".
So Am I doing anything wrong ? if Yes, then how could I make these Filters work ?
I am using "$criteria.COLUMN_NAME" in whereclause of the DataSource.
Below is the code snippet.
Code:
<binding operationType="fetch"> <selectClause> $defaultSelectClause,(select GAMEPLAN_ID from venues where id = positionView.venue_id) AS gameplan_id, (select positionView.id) AS temp_id </selectClause> <tableClause>$defaultTableClause</tableClause> <whereClause> ($defaultWhereClause) AND positionView.venue_id in (select id from venues where gameplan_id = positionView.gameplan_id) AND positionView.id != $criteria.temp_id AND (positionView.linked_positions != $criteria.set_id OR linked_positions is null) </whereClause> </binding>
But, When i do a Filtering using the same ListGrid, I got an Error Popup like:
Unknown Column Name "$Criteria.temp_id".
So Am I doing anything wrong ? if Yes, then how could I make these Filters work ?
Comment