on 09-04-2015 12:13 PM
Hi Team
I am trying to set the sort direction to no sort for the sorts using the below code and getting the exception followed.
Error: "Invalid sort direction"
for (int i = 0; i < count; i++)
{
m_ReportDoc.DataDefController.SortController.ModifySortDirection(m_ReportDoc.DataDefinition.Sorts[i], CrSortDirectionEnum.crSortDirectionNoSortOrder);
}
I am doing this to handle removing sorting on Groups. I am getting error if try to delete the default sort provided on the groups. Getting the invalid field error and SAP agreed that there a bug. So as an alternative when user tries to delete sort provided on group I am setting it to NoSort and not showing it to the user if the sort direction is no sort.
Please let me know how can we set the sort direction to No sort or how can we remove the sorts on the groups.
Regards
Sudeep
I am using VS 2013 , BI 4.1 versions.
I am able to set the sort direction to Original Sort from the CR server using Group export. and the options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.