columns used in this field tf_width: -1,//width, set-1 to end the line for 100%tf_isendrow:true//, the next field starts from the new row Column}, {tf_formfieldorder:10,tf_fieldid:10100020,///Project Name field Tf_colspan:1,////number of columns used in this field tf_width: -1,//width, set-1 for 100%tf_ isendrow:true//end the line, the next field starts from the new row}, {tf_formfieldorder:20,tf_fieldid:10100030,///Project Code field Tf_colspan:1,////This field occupies Number of columns Tf_wi
Here's a look at the Easyui dialog box effect chart
JS Code:
Copy Code code as follows:
HTML code
Copy Code code as follows:
The following is an introduction to the specific use of Windows, starting with the properties of most properties and Windows (window) are the same, listed below for some dialog private properties:
Property name
type
Description
Default Value
Title
String
Title Text of the dialog
" effect, and the selected rows always display a highlight until the user clicks again before disappearing.
#6. Vertical scrolling Tables If you have a lot of data but don't have enough space to show it, this can be a good solution. The page headers and footers are fixed by CSS, but the content can be scrolled.
#7. Replicating a tree table is built using HTML and CSS.
#8. Collapsible tables with DOM and CSS make use of the
/---Extending the DOM with MooTools nodeshttp://www.snook.ca/archives/javascript/mootools_drag_a/---mootools drag and drop instancehttp://smoothgallery.jondesign.net/getting-started---Create a gallery or slide show on your websiteHttp://www.chromasynthetic.com/blog/wp-content/uploads/2006/09/mootools1.html---Simple example of a navigation barhttp://www.chrisesler.com/mootools/mootools-dragwindow.html---A draggable window instance (actually a draggable div)http://www.chrisesler.com/mootools/mooto
username'},{FieldLabel: 'user password ',Name: 'userpassword ',Id: 'Password ',InputType: 'Password', // It also includes radiocheck text (default) filepassword, etc.BlankText: 'Enter the password'}],Buttons: [{text: "OK" },{ text: "canceled", handler: function () {alert ("event! ") ;}}],ButtonAlign: 'center'});}
Note: renderTo: 'id1' when the form panel is invalid for a long time, I don't know what it is.II. Application of Basic Forms (xtype is usually used to describe the types of Components
style to the Panel.11) fit: When True, set the Panel size to fit its parent container. The default value is false.12) border: displays the Panel boundary when defined. The default value is true.13) doSize: if it is set to True, the Panel will be repainted and the layout will be rebuilt. The default value is true.14) collapsible: displays the button for the foldable panel when defined. The default value is false.15) minimizable: display the button for
Common configuration methods for ExtJs4New Ext. viewport ({layout: "border", renderTo: Ext. getBody (), defaults: {bodyStyle: "background-color: # FFFFFF;", frame: true}, // If split is true, the upper, lower, and lower sides of the image can be stretched. // layout: fit, fill layout // collapsible: true, the north module is reduced to the top items: [{region: "north", height: "60%", collapsible: true, spli
About node Manipulation 18910.1.1 DOM 2 and 18910.1.2 DOM 2 Terminology 18910.1.3 DOM 3 19010.2 Adding nodes 19110.3 Deleting a node 19210.4 Deleting a specific node 19410.5 Inserting Nodes 19710.6 Replacing Nodes 19910.7 Writing code with object Literals 202The 11th chapter establishes the dynamic page 20611.1 Displaying the current date on a Web page 20611.2 Date of Processing week 20811.3 Customizing messages based on time 20911.4 Display date according to time zone 21011.5 Convert 24-hour s
for the dialog component and name it 'mymove ', the code is like this:
$. Extend ($. fn. dialog. methods ,{Mymove: function (jq, newposition ){Return jq. each (function (){$ (This). dialog ('move ', newposition );});}});
Now you can call the 'mymove 'method to move the dialog box to the specified position .:
$ ('# Dd'). dialog ('mymove ',{Left: 200,Maximum: 100});
JQuery EasyUI getting startedDownload the js library and introduce the easyui CSS and Havascript files to your page.
After you in
Panel panelsRewrite the defaults with $.fn.panel.defaults.Usage examplesCreate Panel1. Create a panel via tagsIt is easier to create a panel from a tag. Add the ' Easyui-panel ' class to the 1. id= "P" class= "Easyui-panel" title= "My Panel" style= "width:500px;height:150px;padding:10px; Background: #fafafa; "2. iconcls= "Icon-save" closable= "true"3. Collapsible= "true" minimizable= "true" Maximizable=true>4. panel content. 5. panel content. 6. 2. P
Let's take a look at Easyui's dialog boxJS Code:Copy CodeThe code is as follows:HTML codeCopy CodeThe code is as follows: to describe the specific use of window, first of all, the properties of most attributes and Windows (window) are the same property, the following list some dialog private properties:
property name
type
Description
Default value
title
string
dialog box caption text
New Dialog
The Zii component contains some jquery-based UI components that are defined in the package Zii.widgets.jui, including Cjuiaccordion, Cjuiautocomplete,cjuidatepicker, and so on. This article describes Cjuiaccordion, which shows a accordion component (a UI component that is similar to accordion folding). This control encapsulates the JUI accordion plugin.
The basic usage is as follows:
$this->widget (' zii.widgets.jui.CJuiAccordion ', array (' Panels ' =>array (' Panel 1 ' = ' Content for panel
>Casea>Li> Li>ahref="#">spanclass= "Glyphicon glyphicon-question-sign">span>Abouta>Li> ul> Div> Div>nav>Set the Navbar,navbar-default class for the nav tag, navbar-fixed-top the navigation bar above the window, set the UL class to NAV and Navbar-nav as the window moves, and the responsive navigation bar to set the collapsible area, That is, to a div plus collapse and Navbar-collapse class, while the Data-toggle even
rebuilds the layout. Default true.Collapsible: A button that displays a collapsible panel when defined. False by default.Minimizable: Displays a minimized panel button when defined. False by default.Maximizable: A button that displays the maximize panel when defined. False by default.Closable: The button that displays the close panel when defined. False by default.Tools: Custom toolbars with two properties per tool: Iconcls, Handler.Collapsed: When d
The Zii component contains JQuery-based UI components defined in the zii. widgets. jui package, including CJuiAccordion, CJuiAutoComplete, and CJuiDatePicker. This article introduces CJuiAccordion and displays an Accordion component (similar to the Accordion that can be folded... the Zii component contains JQuery-based UI components defined in the package zii. widgets. jui, including CJuiAccordion, CJuiAutoComplete, and CJuiDatePicker. This article describes CJuiAccordion and displays an Accordi
One requirement of the project is to display the information of a department, but there may be sub-departments under this department. Generally, trrPanel doesn't feel very good, on the official api, The treeGrid control is found to meet the requirements. However, it is sad that the code in the api is copied to the program, which is ineffective. It can finally be used based on repeated modifications:
[Javascript]Ext. define ('simpletasks. view. organize. deptgrid ',{Extend: 'ext. tree. Panel ',Xt
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.