smartTable
smartTable copied to clipboard
使用Form时如何固定第一行呢?
求助,需要固定第一行
Column中的方法,可以固定任意列
/** * 设置是否固定 */ public void setFixed(boolean fixed) { isFixed = fixed; }
第一行可以设置成每列的标题,对标题进行固定
/** * 固定标题 * */ private boolean fixedTitle = true;
默认固定标题。
也可以通过手动设置
public TableConfig setFixedTitle(boolean fixedTitle) { this.fixedTitle = fixedTitle; return this; }