Hello,
I have a form grid that displays data from my form data source and a reference data source. I'd like to sort the grid on a reference data source field. My data source has a RecId that references the main account table and I'd like to sort my form on the MainAccount.MainAccountId. Is this possible? Users can click the MainAccountId column heading to sort the grid this way. If it were a normal data source, I would write code in the form data source init method to get a handle on the data source and specify the sort field like this: this.queryBuildDataSource().addSortField(...)
However, I'm struggling to find a way to get a handle on the reference data source and there is no init method to override for the reference data source. Any suggestion would be greatly appreciated!
*This post is locked for comments
I have the same question (0)