View unanswered posts | View active topics It is currently 2022-10-06 18:39



Reply to topic  [ 1 post ] 
 如何隐藏table 表头 
Author Message
TWaver开发组
User avatar

Joined: 2014-02-11 8:59
Posts: 575
Post 如何隐藏table 表头
正常使用table的情况:
Code:
var tablePane = new twaver.controls.TablePane(table);
   var tableDom = tablePane.getView();
   tableDom.style.width = "200px";
   tableDom.style.height = "200px";
   view.appendChild(tableDom);


如果不想显示table的表头,只需要不适用tablePane。
Code:
var tableDom = table.getView();
   tableDom.style.width = "200px";
   tableDom.style.height = "200px";
   view.appendChild(tableDom);


2015-12-07 14:21
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron