smartTable icon indicating copy to clipboard operation
smartTable copied to clipboard

使用Form时如何固定第一行呢?

Open Raozhu opened this issue 5 years ago • 1 comments

求助,需要固定第一行

Raozhu avatar Oct 10 '19 07:10 Raozhu

Column中的方法,可以固定任意列 /** * 设置是否固定 */ public void setFixed(boolean fixed) { isFixed = fixed; }

第一行可以设置成每列的标题,对标题进行固定 /** * 固定标题 * */ private boolean fixedTitle = true; 默认固定标题。 也可以通过手动设置 public TableConfig setFixedTitle(boolean fixedTitle) { this.fixedTitle = fixedTitle; return this; }

DuskSunShine avatar Jan 10 '20 06:01 DuskSunShine