如何在表格中显示日期(按字母顺序排列)? [英] How to display date in table (According to alphabetical order serching) ?

查看:90
本文介绍了如何在表格中显示日期(按字母顺序排列)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

12,000 results, 1- 199 displaying
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z All



订单表格中显示的数据可以通过点击相应的标题重新排列。


The order that data is displayed in the table can be re-arranged by clicking on the appropriate heading.

推荐答案

我可以用三种方法来思考:



1.您必须循环浏览阵列中的所有元素并订购它们。

2.您将不得不循环使用所有元素数组中的元素,并在处理该循环时创建一个新数组,并在那里以正确的顺序插入正确的元素。

3.使用为您制作的第三方控件。



之后在表格中显示新的数组。



请记住,拥有更多细节(比如存储数据的方式)会给你提供更好的答案。



然后告诉你一直在尝试的东西也很好。



希望这会有所帮助。如果这不是您所需要的,请改进您的问题。
I can think in three methods to do that:

1. You will have to cycle through all the elements in your "array" and order them.
2. You will have to cycle through all the elements in your "array" and while processing that loop create a new array and insert the right elements in the right order there.
3. Using a third party control that makes that for you.

After that showing the new "array" into the table.

Keep in mind that having a bit more of details (like how you are storing the data) would help a lot to give you a better answer.

Then it is also nice to tell what you've been trying.

Hope this helps. Improve your question though if this is not what you need.


这篇关于如何在表格中显示日期(按字母顺序排列)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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