// 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!");
}