加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

实现类似EXTJS表格插件 Flexgrid.js GridView中使用的记录

发布时间:2020-12-15 03:56:31 所属栏目:百科 来源:网络整理
导读:下载flexgrid.js? https://code.google.com/p/flexigrid/downloads/list?q=label:Featured 设置GridView 含有 ?thead ?tbody tfooter protected void GridView1_PreRender(object sender,EventArgs e) ? ? ? { ? ? ? ? ? if (GridView1.Rows.Count 0) ? ? ?

下载flexgrid.js?

https://code.google.com/p/flexigrid/downloads/list?q=label:Featured


设置GridView 含有 ?thead ?tbody tfooter


protected void GridView1_PreRender(object sender,EventArgs e) ? ? ? { ? ? ? ? ? if (GridView1.Rows.Count > 0) ? ? ? ? ? { ? ? ? ? ? ? ? // 使用<TH>替换<TD> ? ? ? ? ? ? ? GridView1.UseAccessibleHeader = true; ? ? ? ? ? ? ? ? //This will add the <thead> and <tbody> elements ? ? ? ? ? ? ? //HeaderRow将被<thead>包裹,数据行将被<tbody>包裹 ? ? ? ? ? ? ? GridView1.HeaderRow.TableSection = TableRowSection.TableHeader; ? ? ? ? ? ? ? ? // FooterRow将被<tfoot>包裹 ? ? ? ? ? ? ? GridView1.FooterRow.TableSection = TableRowSection.TableFooter; ? ? ? ? ? } ? ? ? }

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读