Skip to content

Datawindow Sort Service - Shared datawindows #7

Description

@TABUllrich

In dws that share slaves, the sort settings are not stored in Datawindow.Table.Sort
So the sort service and sort dialoges can't read the current sort settings.

pfc sort service should explicitly set this information.

pfc_n_cst_dwsrv_sort.of_setsort:

...
IF Not IsNull (as_format) THEN
    // set sort directly because for share slaves these information is not stored in Table.Sort
    TRY
        idw_Requestor.object.Datawindow.Table.Sort = as_format
    CATCH (throwable e1)
        // ignore
    END TRY
    
    Return idw_Requestor.SetSort (as_format) 
END IF 
...
        // see above
        TRY
            idw_Requestor.object.datawindow.table.sort = lnv_return.is_rs
        CATCH (throwable e2)
            // ignore
        END TRY
        
        Return idw_Requestor.SetSort (lnv_return.is_rs)

END CHOOSE
...

(CodePlex Issue #11007)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions