CN101414256B - Construction method of general-purpose data filtering component - Google Patents
Construction method of general-purpose data filtering component Download PDFInfo
- Publication number
- CN101414256B CN101414256B CN2008101593865A CN200810159386A CN101414256B CN 101414256 B CN101414256 B CN 101414256B CN 2008101593865 A CN2008101593865 A CN 2008101593865A CN 200810159386 A CN200810159386 A CN 200810159386A CN 101414256 B CN101414256 B CN 101414256B
- Authority
- CN
- China
- Prior art keywords
- data
- component
- automatically
- filtration
- assembly
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a general-purpose data filtration component, the dynamic screening of data can be realized by the component, the component is automatically associated with a screened component by the association registration form, the data filtration linkage is realized by the operation of an operator, the data needs to be loaded completely before the filtration, the presentation forms of a main interface of the component comprise: a tree-shaped filtration component with the setting of multiple choices or single choice, a list filtration component with the setting of single choice or multiple choices, a drop-down list filtration component with the form of single choice and a data line filtration component with any input form, and the corresponding components have the same association component registration method and the linked processing effect. The general-purpose data filtration component mainly provides the data filtration component which is convenient and easy to use for ERP software developers, and the intuitive filtration of the data in the ERP can be realized by utilizing the component.
Description
Technical field
The present invention relates to a kind of Computer Applied Technology, use, can in software, realize a kind of general data filtering component construction method of dynamic data filter effect by this technology towards the professional and technical personnel.
Background technology
Development along with infotech, formed all kinds of data messages in the enterprise, corresponding data information is processed processing, represents intuitively and found out the indispensable function that information that the enterprise operator is concerned about has become ERP software by data analysis, general data filtering component is exactly to realize in this situation, is used to satisfy the needs of business data intuitive analysis.
Summary of the invention
The objective of the invention is data are filtered dynamically, comprise tree filter controls, list filtering control, combobox filter controls, input frame filter controls, and pass through the data analysis mode of What You See Is What You Get, filtered data is effectively showed.
The objective of the invention is to realize in the following manner:
1 sets up general assembly basis ancestors.
Store basic environmental information, control title, related control, start-up parameter, filter method, message passback incident;
2. set up tree-like filter assemblies based on ancestors' assembly.
A) by receiving affiliated partner, form tree control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form the tree directory data automatically, adopt uniqueization of data method to extract uniqueization data at different levels in the forming process; Automatically form top full choosing sign simultaneously.
C) singly select the multiselect state by what Dan Xuan, the multiselect sign that receives was provided with tree directory automatically.
D) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present.
3. set up the list filtering assembly based on ancestors' assembly.
A) by receiving affiliated partner, form list control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form table data automatically, adopt uniqueization of data method to extract data in the forming process; Automatically form full choosing sign simultaneously.
C) singly select the multiselect state by what Dan Xuan, the multiselect sign that receives was provided with list control automatically.
D) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present.
4. set up the combobox filter assemblies based on ancestors' assembly.
A) by receiving affiliated partner, form drop down list control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form the drop-down list data automatically, adopt uniqueization of data method to extract data in the forming process; Automatically form full choosing sign simultaneously.
C) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present.
Of the present invention have function and a beneficial effect
1. provide convenience easy-to-use data filtering component towards the ERP software developer, can utilize assembly to realize the filtration directly perceived of data among the ERP.
Embodiment
1. the developer realizes function corresponding by invocation component when software is realized.
2. call method is as follows:
// different assembly adopts different titles.Tree is TREE, and tabulating is LB, and drop-down list is DDLB
ls_object_name=’uo_wd_report_control_’+ls_type
// in corresponding window, create corresponding assembly
iw_container.openuserobject(u,ls_object_name,ll_x,ll_y)
The title of // assignment component is used for the index location
u.control_name=ls_name
The width that // setting shows
u.width=ll_w
The height that // setting shows
u.height=ll_h
Affiliated partner is transmitted in the initialization of // invocation component simultaneously
u.event?z_initial(iw_container,’z_report_filter_act’,idw_main_report)
// transmission parameter and further initialization
u.event?z_refresh(ls_t)
// display module
u.post?show()
The main program assembly:
1, assembly ancestors object: uo_wd_report_control
constant?STRING?ALL_ITEM=’ALL_ITEM_FIRST_TWO’
// be used to indicate the name of control
STRING?CONTROL_NAME
// be used to register parent object, to trigger the corresponding filter event of parent object.
powerobject?ipo_parent
string is_parent_event
The filtercondition of // current control
string is_filter
The initial opening parameter of // current control
string?is_parm
public?function?integer?of_set_parent(powerobject?apo,string?as_event)
public?function?string?of_get_filter()
protected?function?long?of_get_distinct_data(string?as_col,ref?string?as_ret[])
Public incident
event?z_size?pbm_size
event?z_generate_filter()
event?z_filter_action()
event?type?integer?z_initial(powerobject?apo,string?as_event,datawindow?adw)
event?type?integer?z_refresh(string?as_arg)
event?z_resize_post()
event?type?integer?z_reset_data(string?as_fi?lter)
2, tree filter assemblies: uo_wd_report_control_tree
// be used to write down the row name and the corresponding condition string of each row
string?is_col[],is_formular[],is_coltype[],is_sort
// whether be used to indicate increase subitem, in ITEMPOPULATE, call,
boolean?ib_adding=false
// whether be used to indicate multiselect, use PICTUREINDEX and SELECTEDINDEXT=1 to represent not select ,=2 represent to have selected to judge.
boolean?ib_multi=false”
Communication method using common:
public?function?integer?of_set_picture_all_child(long?al_handle,integerai_i?ndex)
public?function?integer?of_set_picture_all_parent(long?al_handle,integerai_i?ndex)
public?function?integer?of_readme()
public?function?string?of_get_single_filter()
public?function?string?of_get_multi_filter()
public?function?string?of_get_single_filter_pub(long?al_handle)
3, list filtering assembly: uo_wd_report_control_lb
4, drop-down list filter assemblies: uo_wd_report_control_ddlb
The present invention effectively raises the ability that software filters data analysis, can promote the final user more effectively to utilize data to see question essence clearly, flexible easy-to-use operator scheme has more effectively promoted the use of user to software, has a good application prospect.
Embodiment:
Method of the present invention has successfully been tried out the comprehensive management platform system in tide ERP, manages windows system, the PS product line, and in force, this component call is succinct, and has brought into play good effect in actual applications.
Claims (1)
1. general data filtering component construction method, it is characterized in that the batch processing assembly, realize the dynamic screening of data by this assembly, this assembly is by the form of related registration, automatically with screened component liaison, operation by the operator realizes the data filter interlock, before filtration, data need complete loading, the main interface form of expression of assembly comprises: have the tree-like filter assemblies that multiselect or single choosing are provided with, have the list filtering assembly that single choosing or multiselect are provided with, the drop-down table filter assemblies that has single form slection formula, the data rows filter assemblies that has any input form, corresponding assembly all has identical above-mentioned associated component logon mode and interlock treatment effect, and the step that makes up data filtering component is as follows:
1) sets up general assembly basis ancestors;
Store basic environmental information, control title, related control, start-up parameter, filter method, message passback incident;
2) set up tree-like filter assemblies based on ancestors' assembly;
A) by receiving affiliated partner, form tree control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form the tree directory data automatically, adopt uniqueization of data method to extract uniqueization data at different levels in the forming process; Automatically form top full choosing sign simultaneously;
C) singly select the multiselect state by what Dan Xuan, the multiselect sign that receives was provided with tree directory automatically;
D) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present;
3) set up the list filtering assembly based on ancestors' assembly;
A) by receiving affiliated partner, form list control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form table data automatically, adopt uniqueization of data method to extract data in the forming process; Automatically form full choosing sign simultaneously;
C) singly select the multiselect state by what Dan Xuan, the multiselect sign that receives was provided with list control automatically;
D) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present;
4) set up the combobox filter assemblies based on ancestors' assembly;
A) by receiving affiliated partner, form drop down list control internal data parameter automatically;
B) by the data rows of every grade of correspondence of tree, form the drop-down list data automatically, adopt uniqueization of data method to extract data in the forming process; Automatically form full choosing sign simultaneously;
C) form filter method by the data assembling that will select, and filter method be applied to related control, the filtration of finishing data with present.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101593865A CN101414256B (en) | 2008-11-26 | 2008-11-26 | Construction method of general-purpose data filtering component |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101593865A CN101414256B (en) | 2008-11-26 | 2008-11-26 | Construction method of general-purpose data filtering component |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101414256A CN101414256A (en) | 2009-04-22 |
CN101414256B true CN101414256B (en) | 2010-09-08 |
Family
ID=40594797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101593865A Expired - Fee Related CN101414256B (en) | 2008-11-26 | 2008-11-26 | Construction method of general-purpose data filtering component |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101414256B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135884A (en) * | 2011-03-18 | 2011-07-27 | 北京星网锐捷网络技术有限公司 | Linkage method, device and system for control piece |
CN102819545B (en) * | 2011-12-22 | 2015-01-28 | 金蝶软件(中国)有限公司 | Bill inquiring method and device based on general filtering condition compound assembly |
CN110020116A (en) * | 2017-09-29 | 2019-07-16 | 北京国双科技有限公司 | Filter condition determines method and device |
CN110310090A (en) * | 2019-06-26 | 2019-10-08 | 杭州天宽科技有限公司 | Dynamic electron approval process generation method, device, equipment and medium based on modularization |
CN110825291B (en) * | 2019-11-08 | 2021-09-17 | 金蝶软件(中国)有限公司 | Data processing method, data processing device and computer equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1248975B1 (en) * | 1999-12-15 | 2003-09-17 | Sun Microsystems, Inc. | System and method for creating a graphical user interface from a filter expression tree |
CN101187864A (en) * | 2007-11-21 | 2008-05-28 | 浪潮集团山东通用软件有限公司 | Method for exhibiting abstraction and integration for interface |
-
2008
- 2008-11-26 CN CN2008101593865A patent/CN101414256B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1248975B1 (en) * | 1999-12-15 | 2003-09-17 | Sun Microsystems, Inc. | System and method for creating a graphical user interface from a filter expression tree |
CN101187864A (en) * | 2007-11-21 | 2008-05-28 | 浪潮集团山东通用软件有限公司 | Method for exhibiting abstraction and integration for interface |
Also Published As
Publication number | Publication date |
---|---|
CN101414256A (en) | 2009-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7665032B2 (en) | Sidebar engine, object model and schema | |
US7568165B2 (en) | Sidebar engine, object model and schema | |
CN101414256B (en) | Construction method of general-purpose data filtering component | |
JP5116541B2 (en) | Method, system, and medium for establishing a context-based software layer (context-based software layer) | |
KR101456506B1 (en) | An authoring tool for web applications and the authoring method thereof | |
CN103902297B (en) | operating system program launch menu search | |
CN101770399B (en) | Electronic equipment, method and device for switching operating system desktop | |
US20070044029A1 (en) | Sidebar engine, object model and schema | |
US20070186176A1 (en) | System and method for window tab organization | |
US8321803B2 (en) | Aggregating service components | |
US20100070886A1 (en) | Web widget component for a rapid application development tool | |
CA2577294A1 (en) | Context-based display technique with hierarchical display format | |
JP2006172473A5 (en) | ||
CN1512301A (en) | System and method for managing software application programme in figure user interface | |
KR20070007593A (en) | Apparatus and method for displaying icon | |
CN101110951A (en) | Method for dynamically loading communication plug-in unit in video monitoring system | |
US20080295011A1 (en) | Binding an image descriptor of a graphical object to a text descriptor | |
CN1808381A (en) | User panel manager and method for creating user-defined dynamic subwindow | |
CN100533442C (en) | System and method of spatial/tabular data presentation | |
CN103713847A (en) | System bar control method of user equipment and user equipment | |
US20140082512A1 (en) | Mobile Device Interface Generator | |
CN104781793A (en) | Systems and methods for integrating storage usage information | |
CN103019727B (en) | The treatment process of desktop wallpaper and device | |
US20080155431A1 (en) | User interface supporting processes with alternative paths | |
CN102446094A (en) | Apparatus and method for effectively implementing system and desktop configuration enhancements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100908 Termination date: 20141126 |
|
EXPY | Termination of patent right or utility model |