# tableFixed **Repository Path**: lemonnan/tableFixed ## Basic Information - **Project Name**: tableFixed - **Description**: table fixed cols or thead - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-24 - **Last Updated**: 2021-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tableFixed table fixed cols or thead ## 例子 [Demo](https://lemonliuchen.github.io/tableFixed/table_th_group.html) ## 基本结构 ```html
第一列 第二列
第一列 第二列
``` ## options ```javascript headFixed: true, // 表头固定 leftFixedNum: 1, // 左侧固定列数 ``` ## example ```javascript var myTableFixed = null; $(function () { myTableFixed = new TableFixed("#example", { headFixed: true, // 表头固定 leftFixedNum: 1, // 左侧固定列数 }); }) ```