OnSort Property

Sets or gets the name of the macro or script to run when the Sort event is triggered.

object.OnSort = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the script or macro to run when the Sort event is triggered.

Client support

   Newlook Smartclient only.

Use

This property is useful if you want to take specific action anytime the user sorts the DataGrid control, this event is triggered immediately after the user clicks on a column header and before the grid contents are sorted.

See Also

AllowSort property | SortColumn method

Applies To

DataGrid control


© 2004-2021 looksoftware. All rights reserved.