Beispiel #1
0
        /// <summary>
        /// 设置子表格
        /// </summary>
        /// <param name="subGrid">子表格</param>
        public T SubGrid(ISubDataGrid subGrid)
        {
            var option = new SubGridOption();

            option.SetSubGrid(subGrid.GetOption());
            return(OnLoadSuccess(string.Format("$.easyui.loadSubGrid_onLoadSuccess({0})", option)));
        }
Beispiel #2
0
 /// <summary>
 /// 设置子表格
 /// </summary>
 /// <param name="subGrid">子表格</param>
 public ISubDataGrid SubGrid( ISubDataGrid subGrid ) {
     _subGridOption.SetSubGrid( subGrid.GetOption() );
     return this;
 }
Beispiel #3
0
 /// <summary>
 /// 设置子表格
 /// </summary>
 /// <param name="subGrid">子表格</param>
 public ISubDataGrid SubGrid(ISubDataGrid subGrid)
 {
     _subGridOption.SetSubGrid(subGrid.GetOption());
     return(this);
 }