czt
2025-01-06 d178c8574a4c3c9d436f5188ddfeff95ffe5f65c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.fzzy.dorado;
 
import com.bstek.dorado.data.listener.GenericObjectListener;
import com.bstek.dorado.view.widget.treegrid.DataTreeGrid;
 
/**
 * 添加监听全局的DataTreeGrid的基本调整
 * 
 * @author Andy
 *
 */
public class DataTreeGridListener extends GenericObjectListener<DataTreeGrid> {
 
    @Override
    public boolean beforeInit(DataTreeGrid grid) throws Exception {
        grid.setRowHeight(38);
        grid.setHeaderRowHeight(38);
        return true;
    }
 
    @Override
    public void onInit(DataTreeGrid grid) throws Exception {
 
    }
 
}