コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 public ColumnModel.Builder ColumnModel(ColumnModel component)
 {
     return(new ColumnModel.Builder(component));
 }
コード例 #2
0
ファイル: GridPanelBase.cs プロジェクト: pgodwin/Ext.net
 /// <summary>
 /// Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed.
 /// Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.
 /// </summary>
 /// <param name="store">Store ClientID</param>
 /// <param name="cm">New ColumnModel</param>
 public virtual void Reconfigure(string store, ColumnModel cm)
 {
     this.Call("reconfigure", new JRawValue(store), new JRawValue("new {0}({1})".FormatWith(cm.InstanceOf, cm.Serialize())));
 }
コード例 #3
0
ファイル: GridPanelBase.cs プロジェクト: RabbWhite/ExtNet
 /// <summary>
 /// Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed.
 /// Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.
 /// </summary>
 /// <param name="store">Store ClientID</param>
 /// <param name="cm">New ColumnModel</param>
 public virtual void Reconfigure(string store, ColumnModel cm)
 {
     this.Call("reconfigure", new JRawValue(store), new JRawValue("new {0}({1})".FormatWith(cm.InstanceOf, cm.Serialize())));
 }