示例#1
0
 /// <summary>
 /// 添加子表格配置项
 /// </summary>
 /// <param name="option">子表格配置项</param>
 public void SetSubGrid( SubGridOption option ) {
     SubGrid = option;
 }
示例#2
0
 public void TestSubGridOption() {
     var subGridOption = new SubGridOption { Options = { FitColumns = true } };
     _option.SetSubGrid( subGridOption );
     Assert.AreEqual( "{'options':{},'subgrid':{'options':{'fitColumns':true}}}", _option.ToString() );
 }
示例#3
0
 /// <summary>
 /// 初始化子表格
 /// </summary>
 public SubDataGrid() {
     _subGridOption = new SubGridOption();
     _option = new DataGridOption();
 }
示例#4
0
 public void TestInit() {
     _option = new SubGridOption();
 }
 /// <summary>
 /// 添加子表格配置项
 /// </summary>
 /// <param name="option">子表格配置项</param>
 public void SetSubGrid(SubGridOption option)
 {
     SubGrid = option;
 }