gpt4 book ai didi

jquery - 如何在手持设备中获取 td

转载 作者:行者123 更新时间:2023-11-28 13:22:54 25 4
gpt4 key购买 nike

我有一个像下面这样的手控器

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>

但是访问失败

 ${"#example1"} table tr td:first-child{font-weight:bold;}--first column

如何做到这一点...?handsontable like的结构是什么

<table><thead><th><td></td></th></thead><tbody><tr><td></td></tr></tbody>

告诉我handsontable的正确结构....

最佳答案

命名

  • 缩进表示结束(所以我不必用结束标签弄乱大纲)
  • Splats (...) 表示在指定级别无限重复
  • 点后缀表示handsontable-应用类名

示意图(v 0.8.3)

table
colgroup
col
thead
tr
th
div.relative
span.colHeader
th...
tbody
tr
td...

关于jquery - 如何在手持设备中获取 td,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14474588/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com