Serialize() private method

private Serialize ( ) : string
return string
Esempio n. 1
0
 /// <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())));
 }
Esempio n. 2
0
 /// <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())));
 }