Version

FixedStateChanged Property

Event fired after a column has been fixed or unfixed.
Syntax
'Declaration
 
Public Property FixedStateChanged As String
public string FixedStateChanged {get; set;}
Example
WebDataGrid1.Behaviors.ColumnFixing.ColumnFixingClientEvents.FixedStateChanged = "WebDataGrid_FixedStateChanged"
WebDataGrid1.Behaviors.ColumnFixing.ColumnFixingClientEvents.FixedStateChanged = "WebDataGrid_FixedStateChanged";
// The client event 'FixedStateChanged' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the FixedEventArgs 

function WebDataGrid_FixedStateChanged(sender, e) {


    //Gets the column object you want to fix
    var fixedColumn = e.get_fixedColumn();

    //Gets the column key
    var key = fixedColumn.get_column().get_key();

    //Gets the state of the column whether it is fixed or unfixed; true for fixed and false for unfixed
    var isFixed = e.get_isFixed();

    if (isFixed == true)

        alert("Column '" + key + "' is fixed!");

    else
        alert("Column '" + key + "' is unfixed!");

}
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