0
獲得TD我有像下面如何handsontable
var $container = $("#example1");
$container.handsontable({
//data: data1,
rowHeaders:true,
colHeaders: ["<input type='checkbox' name='selectall' class='headchecker' checked='checked'>", "Com", "Form", "Size", "Grade", "Brand", "Fineness", "Serial", "Gross", "Net", "Fine Oz", "Original Weight","selectall"],
cols:13,
minSpareRows: 100
});
<div id="example1" class="dataTable" style="width: 1170px; height: 450px; overflow: scroll;"></div>
我可以訪問
<style>
${"#example1"} table th{font-size:90%; font-weight:bold;}--Column Header
${"#example1"} table th:first-child{text-align:left;width:20px;}--rowHeader
${"#example1"} table th:first-child+th{width:3%;text-align:left;}--first column header
${"#example1"} table th:first-child+th+th+th+th+th+th+th+th+th+th+th+th+th{display:none;}--last column Header
${"#example1"} table tr:first-child{font-weight:bold;}--first row
</style>
一個handsontable但我失敗了訪問
${"#example1"} table tr td:first-child{font-weight:bold;}--first column
如何做到這一點.. 。? 什麼是handsontable像
<table><thead><th><td></td></th></thead><tbody><tr><td></td></tr></tbody>
的strucure告訴我handsontable的正確結構....