Version

HeaderRowSelectorClicked Property

Event fired when a row selector in the header row is clicked.
Syntax
'Declaration
 
Public Property HeaderRowSelectorClicked As String
public string HeaderRowSelectorClicked {get; set;}
Example
Me.WebDataGrid1.Behaviors.RowSelectors.RowSelectorClientEvents.HeaderRowSelectorClicked = "WDG1_HeaderRowSelectorClicked"
this.WebDataGrid1.Behaviors.RowSelectors.RowSelectorClientEvents.HeaderRowSelectorClicked = "WDG1_HeaderRowSelectorClicked";
// The client event HeaderRowSelectorClicked takes two parameters sender and e
// sender  is the object which is raising the event
// e is the MarginRowSelectorClickedEventArgs

    function WDG1_HeaderRowSelectorClicked(sender, e) {

        //Returns the row selector element that was clicked
        var s = e.get_rowSelectorElement();

         }
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also