I have a DataSource for my ListGrid that combines data from several tables in a sql database.
I noticed if I provide the table name for each of the fields I can sort by those columns in the ListGrid.
Is there a way to do this for the derived (calculated) fields that get their value from something done in the SQL and not directly from the database?
One example of this would be sorting by averages returned by a datasource that is setup with a GROUPBY statement. Obviously I cannot point that field to a table name since it doesn't come from a table directly.
Thank you in advance for your help!
Patrick
I noticed if I provide the table name for each of the fields I can sort by those columns in the ListGrid.
Is there a way to do this for the derived (calculated) fields that get their value from something done in the SQL and not directly from the database?
One example of this would be sorting by averages returned by a datasource that is setup with a GROUPBY statement. Obviously I cannot point that field to a table name since it doesn't come from a table directly.
Thank you in advance for your help!
Patrick
Comment