Non-refreshing table paging sorting achieving method and device
A table and paging technology, applied in the computer field, can solve problems such as difficulties and poor experience, and achieve the effect of powerful functions, reduced difficulty, and simple design
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] Define the properties of the table in the designer: whether to paginate, whether to automatically sort, the number of records on a single page, the alternate color of the row, the properties of the data source object, the height of the table, etc., specify the bound field and display name of the changed column in each column , width, style, alignment and other information, you can quickly complete the definition and display of a table.
[0022] Configuration item: configure the processing node in web.config:
[0023]
[0024]
[0025]
[0026]
[0027] The first node is the processing node of the Ajax component, and the second node is the processing node of the form component.
[0028] Support for two data sources:
[0029] 1. Background data source definition method:
[0030] Implement the IGetDataSource interface, and complete the return of the data source in the interface, as shown below:
[0031] #regionIGetDataSource member
[0032] publicDataTableGetD...
Embodiment 2
[0062] In the present invention, by encapsulating a set of designed form components, typesetting and definition can be performed in the designer directly by dragging and dropping, and finally a Web form that can display data without refreshing is displayed. Simple design and powerful functions are the biggest features of this form, which can realize powerful functions and reduce the difficulty of development at the same time.
[0063] How to use the form:
[0064] 1. Define HTML tags
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071] HTML attribute description (table attribute):
[0072] allow paging
Whether to allow pagination
allow sorting
Whether to allow sorting
downcolor
click row color
pagesize
Number of records on a single page
AllowAlterBgColor
Allow rows to alternate colors
SQLString
check sentence
ShowLeftBar
Whether to show the left column
[0073] HTML attri...
Embodiment 3
[0085] Such as figure 2 As shown, the implementation steps are as follows:
[0086] 1) When the web page is loaded, control scripts and public methods related to the directional data Grid in the page, including requesting background ashx file address, parameters, table height setting, paging and sorting method generation and other information.
[0087] 2) When the sorting or paging button is clicked, the defined processing function is encapsulated through JavaScript, and the request is sent to the server through ajax.
[0088] 3) The server obtains the corresponding data set through the reflection call of the data source interface.
[0089] 4) With the help of the Microsoft DataGrid control, data binding is performed on the data set, and at the same time, operations such as summation, row merging, and binding events are processed during the binding process.
[0090] 5) Convert the result output generated by the binding into HTML tags, and finally pass the generated HTML tag...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com