在客户端排序gridview [英] sort gridview in client side

查看:73
本文介绍了在客户端排序gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,我尝试使用jQuery在客户端实现gridview列排序。但它不能正常工作。所以请帮帮我

Hi friends I tried to implement gridview column sorting at client side using jQuery. But its not working properly. So please help me

推荐答案

示例



Example

<asp:gridview id="GridView1" runat="server" xmlns:asp="#unknown">
        </asp:gridview>





Jquery



Jquery


document )。ready( function (){
(document).ready(function () {


th)。click( function (){
< span class =code-keyword> var columnIndex =
("th").click(function () { var columnIndex =


这篇关于在客户端排序gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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