How to Implement the User-Defined Function for sorting and querying Columns

Source: Internet
Author: User

This evening, I was still thinking about how to select the data columns and sorting methods displayed on the query page, which is similar to windows. The column query function is easy to implement. You only need to modify the page control, but the sorting function is still difficult to implement, because all the data is unsorted from the underlying query, it cannot meet the requirement if it is directly bound to the WebGrid. Occasionally, it is found that using DataView as an intermediary to filter and sort data is a good method, so that no changes need to be made to the underlying layer, you can also modify the implementation method of the control, and finally find a good solution to these two problems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.