简体   繁体   中英

How to Sort in Gridview using javascript in asp.net

我想通过单击一个列标题来对数据进行排序。在我的代码中,我使用数据集来绑定item。但是我无法使用javaScript设置databind。

In standard you can't sort the gridview with Javascript. But there are workarounds :

http://www.a2zdotnet.com/View.aspx?Id=106

http://www.ezzylearning.com/tutorial.aspx?tid=2168345

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM