footable ajax 翻页后没有样式的问题.版本为V2
来源:互联网 发布:单片机ds18b20工作原理 编辑:程序博客网 时间:2024/06/06 06:31
<pre name="code" class="javascript"><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">The array of objects returned by the AJAX call has to be converted to HTML elements before they can be added to the table</span>
$('table').footable();function create_seller_table_row (item) { var row = $('<tr><td>' + item.id + '</td><td>' + item.date + '</td></tr>'); return row;}$.ajax({ url : '/bid/find/', data: { }, success : function(data) { $.each(data, function(index, item){ var row = create_seller_table_row(item); $('table tbody').append(row); }); $('table').trigger('footable_initialize'); }, error : function(xhr, statusText, error) { alert("Error! Could not retrieve the data."); }});
<span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;"><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">Then use the </span><a target=_blank href="http://fooplugins.com/footable/demos/triggers.htm#docs" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-size: 15px; color: rgb(0, 89, 153); text-decoration: none; cursor: pointer; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; line-height: 19.5px;">footable_initialize</a><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;"> trigger instead of the footable_redraw one.</span></span>
0 0
- footable ajax 翻页后没有样式的问题.版本为V2
- [版本V2.0]当使用【横向菜单】样式的时候,点击菜单项没有反应问题
- 使用footable的问题及解决方案
- Footable的简单用法
- IIS7.5 伪静态 脚本映射 配置方法,添加伪静态后没有为扩展名“”注册的生成提供程序。CSS JS 样式丢失问题
- FooTable
- 关于Ajax提交后session里面为空的问题
- 使用主机为PHP5.3版本后出现的问题
- 开机后,主屏下边框,没有显示代表翻页的3个圆点,滑动屏幕后,会出现
- ffmpeg 解码出现问题,v1.2.1版本,v2.1版本有问题,v0.6.0版本没有问题
- 请教各位大虾:Delphi创建的ActiveForm上的SpeedButton在鼠标离开后没有重画为flat样式
- 关于Android 4.4 后没有WRITE_SMS权限以及指定Android Studio2.3.3 SDK版本的问题
- 解决更改JAVA_HOME后jdk版本没有更改问题
- Myeclipse Keygen.java(本人使用的版本为Myeclipse8.6,亲测没有问题)
- 关于翻页的问题
- 公司的翻页问题
- 在使用Ajax的页面中,链接样式函数需要添加alert后函数才能加载的问题
- 没有有效的Qt版本问题
- 函数里写函数;函数是对象,也可以给他添加方法
- hdu1166 敌兵布阵(线段树经典的单点更新)
- 响应式布局
- Mac 安装mysql
- Nmap常用使用方法
- footable ajax 翻页后没有样式的问题.版本为V2
- smarty总结
- pendingIntent详解
- json的使用
- 【webpack】expose-loader 插件使用
- POJ 2299 Ultra-QuickSort
- 华为oj 删除字符串中出现次数最少的字符
- Entity Framework 6源码学习(一)
- 主人公惺惺著