使用jQuery在cshtml页面上绑定表 [英] Binding table on cshtml page using jQuery

查看:225
本文介绍了使用jQuery在cshtml页面上绑定表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在CSHTML页面上添加自动搜索功能。

当用户在文本框中键入时,则值得到了来自数据库的应该绑定在CSHTML页面上的表中。它应该根据用户在文本框中的值类型过滤记录。

它应该在用户输入时继续过滤记录。



**请建议。



谢谢,



问候,

Ashish

Hi,

I want add auto search feature on a CSHTML page.
When a user type in the textbox then values got from database should be bind in a table on the CSHTML page.It should filter records base on the value type by the user in the textbox.
It should keep filtering the records when user typing.

**Please suggest.

Thank you,

Regards,
Ashish

推荐答案

你可以使用jquery数据表plugnis,它有内置的自动搜索,排序和分页选项。



DATA TABLE PLUGIN [ ^ ]
you can use jquery data tables plugnis which has an auto search,sort and paging options inbuilt.

DATA TABLE PLUGIN[^]


这篇关于使用jQuery在cshtml页面上绑定表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆