Пример #1
0
        //-------------------------------------------------------------------------------------- CSS & HTML --
        public new static string GetCssTree()
        {
            string rtn = "";

            rtn += GetCssRoot();
            rtn += TablesPanel_MenuRow.GetCssTree();
            return(rtn);
        }
Пример #2
0
        //----------------------------------------------------------------------------------------------------
        public void Refresh()
        {
            var table = jF2(".MenuTable");

            table.find(".jRoot").remove();
            if (this.Model != null)
            {
                for (int i = 0; i < this.Model.Length; i++)
                {
                    var menuRow = new TablesPanel_MenuRow(this.HoldsHiddenItems);
                    menuRow.Model = this.Model[i];
                    menuRow.Instantiate();
                    menuRow.OnChange.After.AddHandler(this, "SubItem_Changed", 0);
                    table.append(menuRow.jRoot);
                }
            }
            UI.PagesFramework.BasePage.WindowResized();
        }