ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / detailCreating Event
The jQuery.Event object.
The data with this event.
In This Topic
    detailCreating Event
    In This Topic
    The detailCreating event handler is called when wijgrid requires to create a new detail wijgrid.
    Syntax
    var options; // Type:  jQuery.wijmo.c1gridview.options
    
          // Create a new c1gridview widget
          $(".selector").c1gridview(options);
    
          // Get a previously created c1gridview widget instance
          var widgetInstance; // Type:  jQuery.wijmo.c1gridview
          widgetInstance = $(".selector").data("wijmo-c1gridview");
    
          // Set detailCreating event handler function
    widgetInstance.option("detailCreating", function (e, args) { } );
    detailCreating = function ( 
       e : Object,
       args : wijmo.grid.IDetailCreatingEventArgs
    ) { };

    Parameters

    e
    The jQuery.Event object.
    args
    The data with this event.
    Remarks
    Event receives options of a detail grid to create, which were obtained by cloning the detail option of the master grid. User can alter the detail grid options here and provide a specific datasource within the args.options.data option to implement run-time hierarachy.You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ detailCreating: function (e, args) { // some code here }}); * Bind to the event by type: $("#element").bind("wijgriddetailcreating", function (e, args) { // some code here });
    See Also