/// <summary> /// Fires when there is a mouse up on an item /// </summary> /// <param name="this"> /// </param> /// <param name="record"><p>The record that belongs to the item</p> /// </param> /// <param name="item"><p>The item's element</p> /// </param> /// <param name="index"><p>The item's index</p> /// </param> /// <param name="e"><p>The raw event object</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void itemmouseup(Ext.view.View @this, Ext.data.Model record, object item, JsNumber index, EventObject e, object eOpts) { }
/// <summary> /// Fires when the node associated with an individual record is updated /// </summary> /// <param name="record"><p>The model instance</p> /// </param> /// <param name="index"><p>The index of the record/node</p> /// </param> /// <param name="node"><p>The node that has just been updated</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void itemupdate(Ext.data.Model record, object index, object node, object eOpts) { }
/// <summary> /// Get the index within the entire dataset. ... /// </summary> public JsNumber indexOfTotal(Ext.data.Model record) { return(null); }
/// <summary> /// <b /// </summary> /// <param name="rowNode"><p>The <tr> element which owns the expanded row.</p> /// </param> /// <param name="record"><p>The record providing the data.</p> /// </param> /// <param name="expandRow"><p>The <tr> element containing the expanded data.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void collapsebody(object rowNode, Ext.data.Model record, object expandRow, object eOpts) { }
/// <summary> /// Function which can be overridden to provide custom formatting for each Record that is used by this /// DataView's template to render each node. /// </summary> /// <param name="data"><p>The raw data object that was used to create the Record.</p> /// </param> /// <param name="recordIndex"><p>the index number of the Record being prepared for rendering.</p> /// </param> /// <param name="record"><p>The Record being prepared for rendering.</p> /// </param> /// <returns> /// <span><see cref="Array">Array</see>/<see cref="Object">Object</see></span><div><p>The formatted data in a format expected by the internal <see cref="Ext.view.AbstractViewConfig.tpl">template</see>'s overwrite() method. /// (either an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'}))</p> /// </div> /// </returns> public object prepareData(object data, JsNumber recordIndex, Ext.data.Model record) { return(null); }
/// <summary> /// This event is fired through the GridView. Add listeners to the GridView object Fired when a drop operation /// has been completed and the data has been moved or copied. /// </summary> /// <param name="node"><p>The GridView node <strong>if any</strong> over which the mouse was positioned.</p> /// </param> /// <param name="data"><p>The data object gathered at mousedown time by the cooperating <see cref="Ext.dd.DragZone">DragZone</see>'s <see cref="Ext.dd.DragZone.getDragData">getDragData</see> method it contains the following properties:</p> /// <ul> /// <li><p>copy : Boolean</p> /// <p>The value of the GridView's <c>copy</c> property, or <c>true</c> if the GridView was configured with <c>allowCopy: true</c> and /// the control key was pressed when the drag operation was begun</p></li> /// <li><p>view : GridView</p> /// <p>The source GridView from which the drag originated.</p></li> /// <li><p>ddel : HtmlElement</p> /// <p>The drag proxy element which moves with the mouse</p></li> /// <li><p>item : HtmlElement</p> /// <p>The GridView node upon which the mousedown event was registered.</p></li> /// <li><p>records : Array</p> /// <p>An Array of <see cref="Ext.data.Model">Model</see>s representing the selected data being dragged from the source GridView.</p></li> /// </ul> /// </param> /// <param name="overModel"><p>The Model over which the drop gesture took place.</p> /// </param> /// <param name="dropPosition"><p><c>"before"</c> or <c>"after"</c> depending on whether the mouse is above or below the midline /// of the node.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void drop(object node, object data, Ext.data.Model overModel, JsString dropPosition, object eOpts) { }
/// <summary> /// Sets a record as the last focused record. This does NOT mean /// that the record has been selected. /// </summary> /// <param name="record"> /// </param> public void setLastFocused(Ext.data.Model record) { }
/// <summary> /// Expand a record that is loaded in the view. ... /// </summary> public object expand(Ext.data.Model record, bool deep = false, JsAction callback = null, object scope = null) { return(null); }
/// <summary> /// Saves the given record in the Proxy. ... /// </summary> public object setRecord(Ext.data.Model record, JsString id) { return(null); }
/// <summary> /// Fired after a record is selected /// </summary> /// <param name="this"> /// </param> /// <param name="record"><p>The selected record</p> /// </param> /// <param name="index"><p>The row index selected</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void select(RowModel @this, Ext.data.Model record, JsNumber index, object eOpts) { }
/// <summary> /// This event is fired through the TreeView. Add listeners to the TreeView object /// Fired when a drop gesture has been triggered by a mouseup event in a valid drop position in the TreeView. /// </summary> /// <param name="node"><p>The TreeView node <strong>if any</strong> over which the mouse was positioned.</p> /// <p>Returning <c>false</c> to this event signals that the drop gesture was invalid, and if the drag proxy will animate /// back to the point from which the drag began.</p> /// <p>Returning <c>0</c> To this event signals that the data transfer operation should not take place, but that the gesture /// was valid, and that the repair operation should not take place.</p> /// <p>Any other return value continues with the data transfer operation.</p> /// </param> /// <param name="data"><p>The data object gathered at mousedown time by the cooperating /// <see cref="Ext.dd.DragZone">DragZone</see>'s <see cref="Ext.dd.DragZone.getDragData">getDragData</see> method it contains the following /// properties:</p> /// <ul><li><span>copy</span> : <see cref="bool">Boolean</see><div><p>The value of the TreeView's <c>copy</c> property, or <c>true</c> if the TreeView was configured with /// <c>allowCopy: true</c> and the control key was pressed when the drag operation was begun</p> /// </div></li><li><span>view</span> : <see cref="Ext.tree.View">Ext.tree.View</see><div><p>The source TreeView from which the drag originated.</p> /// </div></li><li><span>ddel</span> : HTMLElement<div><p>The drag proxy element which moves with the mouse</p> /// </div></li><li><span>item</span> : HTMLElement<div><p>The TreeView node upon which the mousedown event was registered.</p> /// </div></li><li><span>records</span> : <see cref="Ext.data.Model">Ext.data.Model</see>[]<div><p>An Array of <see cref="Ext.data.Model">Model</see>s representing the selected data being /// dragged from the source TreeView.</p> /// </div></li></ul></param> /// <param name="overModel"><p>The Model over which the drop gesture took place.</p> /// </param> /// <param name="dropPosition"><p><c>"before"</c>, <c>"after"</c> or <c>"append"</c> depending on whether the mouse is above or below /// the midline of the node, or the node is a branch node which accepts new child nodes.</p> /// </param> /// <param name="dropHandler"><p>An object containing methods to complete/cancel the data transfer operation and either /// move or copy Model instances from the source View's Store to the destination View's Store.</p> /// <p>This is useful when you want to perform some kind of asynchronous processing before confirming/cancelling /// the drop, such as an <see cref="Ext.window.MessageBox.confirm">confirm</see> call, or an Ajax request.</p> /// <p>Set dropHandler.wait = true in this event handler to delay processing. When you want to complete the event, call /// dropHandler.processDrop(). To cancel the drop, call dropHandler.cancelDrop.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforedrop(object node, JsArray <Object> data, Ext.data.Model overModel, JsString dropPosition, object dropHandler, object eOpts) { }
/// <summary> /// Provide additional data to the prepareData call within the grid view. ... /// </summary> public object getAdditionalData(object data, JsNumber idx, Ext.data.Model record, object orig) { return(null); }
/// <summary> /// Persists the values in this form into the passed Ext.data.Model object in a beginEdit/endEdit block. ... /// </summary> public Basic updateRecord(Ext.data.Model record) { return(null); }
/// <summary> /// Fired after a record is selected /// </summary> /// <param name="this"> /// </param> /// <param name="record"><p>The selected record</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void select(Ext.selection.DataViewModel @this, Ext.data.Model record, object eOpts) { }
/// <summary> /// Gets the cell (td) for a particular record and column. /// </summary> /// <param name="record"> /// </param> /// <param name="column"> /// </param> private void getCell(Ext.data.Model record, Ext.grid.column.Column column) { }
/// <summary> /// Iterates over a given record's values for each of this series's yFields, /// executing a given function for each value. Any yFields that have been combined /// via legend drag-drop will be treated as a single value. /// </summary> /// <param name="record"> /// </param> /// <param name="fn"> /// </param> /// <param name="scope"> /// </param> protected void eachYValue(Ext.data.Model record, System.Delegate fn, object scope) { }
/// <summary> /// This event is fired through the GridView. Add listeners to the GridView object /// Fired when a drop gesture has been triggered by a mouseup event in a valid drop position in the GridView. /// </summary> /// <param name="node"><p>The GridView node <strong>if any</strong> over which the mouse was positioned.</p> /// <p>Returning <c>false</c> to this event signals that the drop gesture was invalid, and if the drag proxy will animate /// back to the point from which the drag began.</p> /// <p>Returning <c>0</c> To this event signals that the data transfer operation should not take place, but that the gesture /// was valid, and that the repair operation should not take place.</p> /// <p>Any other return value continues with the data transfer operation.</p> /// </param> /// <param name="data"><p>The data object gathered at mousedown time by the cooperating <see cref="Ext.dd.DragZone">DragZone</see>'s <see cref="Ext.dd.DragZone.getDragData">getDragData</see> method it contains the following properties:</p> /// <ul> /// <li><p>copy : Boolean</p> /// <p>The value of the GridView's <c>copy</c> property, or <c>true</c> if the GridView was configured with <c>allowCopy: true</c> and /// the control key was pressed when the drag operation was begun</p></li> /// <li><p>view : GridView</p> /// <p>The source GridView from which the drag originated.</p></li> /// <li><p>ddel : HtmlElement</p> /// <p>The drag proxy element which moves with the mouse</p></li> /// <li><p>item : HtmlElement</p> /// <p>The GridView node upon which the mousedown event was registered.</p></li> /// <li><p>records : Array</p> /// <p>An Array of <see cref="Ext.data.Model">Model</see>s representing the selected data being dragged from the source GridView.</p></li> /// </ul> /// </param> /// <param name="overModel"><p>The Model over which the drop gesture took place.</p> /// </param> /// <param name="dropPosition"><p><c>"before"</c> or <c>"after"</c> depending on whether the mouse is above or below the midline /// of the node.</p> /// </param> /// <param name="dropFunction"><p>A function to call to complete the data transfer operation and either move or copy Model instances from the /// source View's Store to the destination View's Store.</p> /// <p>This is useful when you want to perform some kind of asynchronous processing before confirming the drop, such as /// an <see cref="Ext.window.MessageBox.confirm">confirm</see> call, or an Ajax request.</p> /// <p>Return <c>0</c> from this event handler, and call the <c>dropFunction</c> at any time to perform the data transfer.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforedrop(object node, object data, Ext.data.Model overModel, JsString dropPosition, System.Delegate dropFunction, object eOpts) { }
/// <summary> /// Override this function to apply custom CSS classes to rows during rendering. ... /// </summary> public JsString getRowClass(Ext.data.Model model, JsNumber index, object rowParams, Ext.data.Store store) { return(null); }
/// <summary> /// Determines if this record is currently focused. /// </summary> /// <param name="record"> /// </param> public void isFocused(Ext.data.Model record) { }
/// <summary> /// Fired after a record is deselected /// </summary> /// <param name="this"> /// </param> /// <param name="record"><p>The deselected record</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void deselect(DataViewModel @this, Ext.data.Model record, object eOpts) { }
/// <summary> /// Fired when a row is focused /// </summary> /// <param name="this"> /// </param> /// <param name="oldFocused"><p>The previously focused record</p> /// </param> /// <param name="newFocused"><p>The newly focused record</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void focuschange(Ext.selection.Model @this, Ext.data.Model oldFocused, Ext.data.Model newFocused, object eOpts) { }
/// <summary> /// A renderer is an 'interceptor' method which can be used transform data (value, appearance, etc.) before it /// is rendered. ... /// </summary> public JsString renderer(object value, object metaData, Ext.data.Model record, JsNumber rowIndex, JsNumber colIndex, Ext.data.Store store, Ext.view.View view) { return(null); }
/// <summary> /// Read associated data /// </summary> /// <param name="record"><p>The record we're writing to</p> /// </param> /// <param name="reader"><p>The reader for the associated model</p> /// </param> /// <param name="associationData"><p>The raw associated data</p> /// </param> private void read(Ext.data.Model record, Ext.data.reader.Reader reader, object associationData) { }
/// <summary> /// Loads an Ext.data.Model into this form (internally just calls Ext.form.Basic.loadRecord) /// See also trackResetOnLoad. ... /// </summary> public Basic loadRecord(Ext.data.Model record) { return(null); }
/// <summary> /// Fires when the node associated with an individual record is removed /// </summary> /// <param name="record"><p>The model instance</p> /// </param> /// <param name="index"><p>The index of the record/node</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void itemremove(Ext.data.Model record, object index, object eOpts) { }
/// <summary> /// ... /// </summary> public object setLastFocused(Ext.data.Model record, object supressFocus) { return(null); }
/// <summary> /// Returns the string to group on for a given model instance. ... /// </summary> public JsString getGroupString(Ext.data.Model instance) { return(null); }
/// <summary> /// Start editing the specified grid at the specified position. /// </summary> /// <param name="record"><p>The Store data record which backs the row to be edited.</p> /// </param> /// <param name="columnHeader"><p>The Column object defining the column to be edited.</p> /// </param> public void startEdit(Ext.data.Model record, Ext.data.Model columnHeader) { }
/// <summary> /// Inserts Model instances into the Store at the given index and fires the add event. ... /// </summary> public object insert(JsNumber index, Ext.data.Model records) { return(null); }
/// <summary> /// Fires before the keydown event on an item is processed. Returns false to cancel the default action. /// </summary> /// <param name="this"> /// </param> /// <param name="record"><p>The record that belongs to the item</p> /// </param> /// <param name="item"><p>The item's element</p> /// </param> /// <param name="index"><p>The item's index</p> /// </param> /// <param name="e"><p>The raw event object. Use <see cref="Ext.EventObject.getKey">getKey()</see> to retrieve the key that was pressed.</p> /// </param> /// <param name="eOpts"><p>The options object passed to <see cref="Ext.util.Observable.addListener">Ext.util.Observable.addListener</see>.</p> /// </param> public void beforeitemkeydown(Ext.view.View @this, Ext.data.Model record, object item, JsNumber index, EventObject e, object eOpts) { }