Esempio n. 1
0
 /// <summary>
 /// Changes the data store bound to this view and refreshes it. ...
 /// </summary>
 public object bindStore(Ext.data.Store store, object initial)
 {
     return(null);
 }
 /// <summary>
 /// Unbinds the paging toolbar from the specified Ext.data.Store (deprecated)
 /// </summary>
 /// <param name="store"><p>The data store to unbind</p>
 /// </param>
 public void unbind(Ext.data.Store store)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Override this function to apply custom CSS classes to rows during rendering. This function should return the
 /// CSS class name (or empty string '' for none) that will be added to the row's wrapping div. To apply multiple
 /// class names, simply return them space-delimited within the string (e.g. 'my-class another-class').
 /// Example usage:
 /// <code>viewConfig: {
 /// getRowClass: function(record, rowIndex, rowParams, store){
 /// return record.get("valid") ? "row-valid" : "row-error";
 /// }
 /// }
 /// </code>
 /// </summary>
 /// <param name="record"><p>The record corresponding to the current row.</p>
 /// </param>
 /// <param name="index"><p>The row index.</p>
 /// </param>
 /// <param name="rowParams"><p><strong>DEPRECATED.</strong> For row body use the
 /// <see cref="Ext.grid.feature.RowBody.getAdditionalData">getAdditionalData</see> method of the rowbody feature.</p>
 /// </param>
 /// <param name="store"><p>The store this grid is bound to</p>
 /// </param>
 /// <returns>
 /// <span><see cref="String">String</see></span><div><p>a CSS class name to add to the row.</p>
 /// </div>
 /// </returns>
 public JsString getRowClass(Ext.data.Model record, JsNumber index, object rowParams, Ext.data.Store store)
 {
     return(null);
 }
Esempio n. 4
0
 /// <summary>
 /// Tells this model instance that it has been added to a store ...
 /// </summary>
 public object join(Ext.data.Store store)
 {
     return(null);
 }
Esempio n. 5
0
 /// <summary>
 /// Fires before a request is made for a new data object. If the beforeload handler returns false the load
 /// action will be canceled.
 /// </summary>
 /// <param name="store"><p>This Store</p>
 /// </param>
 /// <param name="operation"><p>The <see cref="Ext.data.Operation">Ext.data.Operation</see> object that will be passed to the Proxy to
 /// load the Store</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 beforeload(Ext.data.Store store, Ext.data.Operation operation, object eOpts)
 {
 }
Esempio n. 6
0
 /// <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);
 }
Esempio n. 7
0
 /// <summary>
 /// Fires after a reconfigure.
 /// </summary>
 /// <param name="this">
 /// </param>
 /// <param name="store"><p>The store that was passed to the <see cref="Ext.grid.Panel.reconfigure">reconfigure</see> method</p>
 /// </param>
 /// <param name="columns"><p>The column configs that were passed to the <see cref="Ext.grid.Panel.reconfigure">reconfigure</see> method</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 reconfigure(Ext.grid.Panel @this, Ext.data.Store store, JsArray <Object> columns, object eOpts)
 {
 }
Esempio n. 8
0
 /// <summary>
 /// Returns all records that are already present and are still present in the new store
 /// </summary>
 /// <param name="store"><p>The updated store instance</p>
 /// </param>
 /// <returns>
 /// <span><see cref="Object">Object</see></span><div><p>Object of records that are still present from last time in format {id: record}</p>
 /// </div>
 /// </returns>
 public object getRemaining(Ext.data.Store store)
 {
     return(null);
 }
Esempio n. 9
0
 /// <summary>
 /// Binds the paging toolbar to the specified Ext.data.Store (deprecated) ...
 /// </summary>
 public object bind(Ext.data.Store store)
 {
     return(null);
 }
Esempio n. 10
0
 /// <summary>
 /// Registers one or more Stores with the StoreManager. ...
 /// </summary>
 public static object register(Ext.data.Store store1, Ext.data.Store store2 = null, Ext.data.Store etc = null)
 {
     return(null);
 }
Esempio n. 11
0
 /// <summary>
 /// Returns all records in the given store that were not already present
 /// </summary>
 /// <param name="store"><p>The updated store instance</p>
 /// </param>
 /// <returns>
 /// <span><see cref="Object">Object</see></span><div><p>Object of records not already present in the dataview in format {id: record}</p>
 /// </div>
 /// </returns>
 public object getAdded(Ext.data.Store store)
 {
     return(null);
 }
Esempio n. 12
0
 /// <summary>
 /// Caches the records from a store locally for comparison later
 /// </summary>
 /// <param name="store"><p>The store to cache data from</p>
 /// </param>
 public void cacheStoreData(Ext.data.Store store)
 {
 }
Esempio n. 13
0
 /// <summary>
 /// Returns all records that are present in the DataView but not the new store
 /// </summary>
 /// <param name="store"><p>The updated store instance</p>
 /// </param>
 /// <returns>
 /// <span><see cref="Array">Array</see></span><div><p>Array of records that used to be present</p>
 /// </div>
 /// </returns>
 public JsArray getRemoved(Ext.data.Store store)
 {
     return(null);
 }
 /// <summary>
 /// Get the summary data for a field.
 /// </summary>
 /// <param name="store"><p>The store to get the data from</p>
 /// </param>
 /// <param name="type"><p>The type of aggregation. If a function is specified it will
 /// be passed to the stores aggregate function.</p>
 /// </param>
 /// <param name="field"><p>The field to aggregate on</p>
 /// </param>
 /// <param name="group"><p>True to aggregate in grouped mode</p>
 /// </param>
 /// <returns>
 /// <span><see cref="Number">Number</see>/<see cref="String">String</see>/<see cref="Object">Object</see></span><div><p>See the return type for the store functions.</p>
 /// </div>
 /// </returns>
 public virtual object getSummary(Ext.data.Store store, object type, JsString field, bool group)
 {
     return(null);
 }
Esempio n. 15
0
 /// <summary>
 /// Reconfigure the table with a new store/column. ...
 /// </summary>
 public object reconfigure(Ext.data.Store store, JsArray columns)
 {
     return(null);
 }
Esempio n. 16
0
 /// <summary>
 /// Changes the data store bound to this view and refreshes it.
 /// </summary>
 /// <param name="store"><p>The store to bind to this view</p>
 /// </param>
 public void bindStore(Ext.data.Store store)
 {
 }
Esempio n. 17
0
 /// <summary>
 /// Handles the grid's reconfigure event.  Adds the checkbox header if the columns have been reconfigured.
 /// </summary>
 /// <param name="grid">
 /// </param>
 /// <param name="store">
 /// </param>
 /// <param name="columns">
 /// </param>
 private void onReconfigure(Ext.panel.Table grid, Ext.data.Store store, JsArray <Object> columns)
 {
 }