New Idea of DataGrid Control

Source: Internet
Author: User

In the past two days, I have been studying the DataGrid and the new brushless NEX technology. I want to create a control similar to the DataGrid, which has been basically formed yesterday.

The basic idea is as follows:

1. Discard the control of the Microsoft DataGrid server and use the table to write the control.

2. After the first operation, the client sends the table name and field, as well as the start and end positions, and returns the total number to the client before the dataset XML document. Then, commit Crip binds the XML document.

3. Implement paging. Through rownum (Oracle) or top N (sqlserver), the server sends XML documents to the client only at the start and end positions from the client.

4. Select a row.

5. Sort data. For the sake of speed, I used HTC and scrip for implementation, and only sorted at the front end.


The function has been completed. Oracle and SQL server have passed the test as follows:

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.