ReportControl_SortΒΆ

The ReportControl_Sort callback function can be set in the dialog box template string of a report control to enable sorting of records. The function is invoked by UniPlot when the user clicks the buttons in the header of a report control.

svInit = ReportControl_Sort(svInit, iControl, iColumn, bAscending)

Return Value

svInit is a string vector to initialize the dialog box, see DialogBox

Parameters

svInit

svInit is a string vector to initialize the dialog box, see DialogBox

iControl

iControl is the index of the report control and refers to the vector svInit.

iColumn

iColumn is the index of the column buttons clicked by the user.

bAscending

bAscending sets the sorting order. TRUE (1) for ascending and FALSE (0) for descending sorting order.

History

Version Description
4.2.2 New

id-689035