【问题标题】:Timeline getting data from database从数据库获取数据的时间线
【发布时间】:2023-03-09 22:49:01
【问题描述】:

Timeglider 是一个时间线项目。 Timeglider 是一个 jQuery 插件,用于在高度灵活的时间轴中显示任意数量的事件。

获取和读取数据的最简单方法之一是使用TABLE。 此表是具有特定属性的 HTML 表 例如,我们应该用 SQL 中的数据创建表。

我使用像 GRIDVIEW 或(TABLE 和面板)这样的对象,但这些对象没有这些标签。

请帮帮我 我可以使用 json 数据源吗?但我不知道怎么做? 但有了桌子就更容易了。

Timeglider 时间线可以直接从您在 HTML 表格。

我可以和response.write 一起使用吗?或另一种建议的方式? 或将这些行添加到表中。 (我知道只有 gridview 有属性标题)但表没有??!!!!!! 请帮帮我。

<!-- The first row of the table is reserved for meta-data.

     Class values below are *critical* for mapping out data from the 
     <td> elements that follow ---  though order is not important.
     The text in <td> elements is *not* critical: just the class names.
-->
<tr>
  <th class="tg-startdate">start date</th>
  <th class="tg-enddate">end date</th>
  <th class="tg-title">title</th>
  <th class="tg-description">description</th>
  <th class="tg-icon">icon</th>
  <th class="tg-importance">importance</th>
  <th class="tg-link">link</th> 
</tr>

【问题讨论】:

    标签: json html-table datasource timeline


    【解决方案1】:

    我通过创建我想要的 HTML 代码和使用来解决它

    Response.Write();
    

    在输出中触发它 Timeglider 也很好用

    【讨论】:

      猜你喜欢
      • 2021-05-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-10-21
      • 1970-01-01
      • 2020-03-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多