Ext.Net.ColumnModel.CallColumnModel C# (CSharp) Method

CallColumnModel() private method

private CallColumnModel ( string name ) : void
name string
return void
        protected virtual void CallColumnModel(string name, params object[] args)
        {
            StringBuilder sb = new StringBuilder();

            if (args != null && args.Length > 0)
            {
                foreach (object arg in args)
                {
                    sb.AppendFormat("{0},", JSON.Serialize(arg));
                }
            }

            string script = "{0}.getColumnModel().{1}({2});".FormatWith(this.ParentGrid.ClientID, name, sb.ToString().LeftOfRightmostOf(','));

            this.AddScript(script);
        }