Version

ColumnResized Property (ColumnResizingClientEvents)

Event fired after a cell has entered edit mode.
Syntax
'Declaration
 
Public Property ColumnResized As String
public string ColumnResized {get; set;}
Example
Me.WebDataGrid1.Behaviors.ColumnResizing.ColumnResizingClientEvents.ColumnResized = "WDG1_ColumnResized"
this.WebDataGrid1.Behaviors.ColumnResizing.ColumnResizingClientEvents.ColumnResized = "WDG1_ColumnResized";
// The client event ColumnResized takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ColumnResizedEventArgs

    function WDG1_ColumnResized(sender, e) {

        //Returns which column is being used as the drag source for the resize action
        var column = e.get_column();

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

        //Gets the width of the column
        var width = column.get_width();

        window.status = "The width of the column '" + key + "'is  " + width;

    
    }
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