JQuery LigerUI V1.1.5 released (including API and all source code)

Source: Internet
Author: User

Two months ago, I published V1.1.0 in the form of a blog post. Up to now, I have updated five versions. V1.1.3 introduced the core mechanism, provides the ligerui built-in event processing mechanism and attribute dynamic setting mechanism, and builds the foundation for ligerui plug-ins. Further supplements are provided in the next version.

V1.1.5 is mainly used to further strengthen the table. Currently, it supports fixed columns and perfect multi-Table headers. It also optimizes the table editing capability and supports the row and detail editing modes, you can define your own editor. For example, you can introduce any third-party date controls to ligerGrid.

The released version provides the chm version api for you to view.

Related Links

API: http://api.ligerui.com/

Demo address: http://demo.ligerui.com/

Source code download: http://ligerui.googlecode.com/

Technical support: http://www.cnblogs.com/leoxie2011/

V1.1.5 update records

Table

[Requirement] fixed column

[Requirement] supports cross-row merge for multiple headers

[Requirement] adds the row editing mode.

[Requirement] added detail editing mode

[Requirement] added extended interfaces: sorting and formatter, optimized extended interfaces: Editor

[Requirement] You can press Ctrl to select a row.

[Requirement] The height can be set in the details box (onExtend, onCollapse, and height are added in the detail parameter)

[Requirement] Remove the renderDate and dblClickToEdit parameters to remove stringToDate and getFormatDate.

[Required] the following parameters are added: detailToEdit, frozen, frozenDetail, frozenCheckbox, detailHeight, rownumbers, frozenRownumbers, and rownumbersColWidth;

Add beginEdit, SubmitEdit, cancelEdit, reRender, addEditRow, extendDetail, collapseDetail, getSelectedRows (Ctrl supported), getSelected, getSelecteds, getSelectedRowObjs;

Added event onBeforeChangeColumnWidth, onAfterChangeColumnWidth, onBeginEdit, onAfterBeginEdit, onCancelEdit, onBeforeSubmitEdit, onAfterSubmitEdit

Form

[Requirement] added events onToggle, onShow, and onHide in combobox.

Tree

[BUG] fixed the problem that the right-click menu is not triggered.

V1.1.4 update records

Core

[Requirement] Call method for adding a method: liger {Plugin} (method)

[Requirement] added the call method for obtaining attributes: liger {Plugin} ("option", name)

[Requirement] added the call method for setting properties: liger {Plugin} ("option", name, value)

Comprehensive

[BUG] fixed the BUG where some plug-ins did not trigger the event.

Form

[BUG] fixed the BUG where the bubbles in V1.1.3 verification did not disappear.

Layout

[Requirement] double-click the Tab to close the Tab.

[Requirement] the Tab control adds the drag Tab function.

V1.1.3 update records

Core

[Requirement] core/base. js is introduced. Every plug-in depends on this file. It provides the ligerui built-in event processing mechanism, dynamic attribute setting mechanism, and so on.

[Requirement] Each plug-in has the get, set, bind, and trigger methods.

Basic

[Optimized] optimized ligerResizable and ligerDrag

[Requirement] ligerDrag adds the copy mode

[Requirement] ligerDrag adds support for release and drag in a specified area

V1.1.2 update records

Comprehensive

[Requirement] provides onRender and onRendered interfaces for each plug-in.

Table

[Requirement] provides extended interfaces for table Editor

[Requirement] The Name Of The onRClickToSelect parameter is changed to whenRClickToSelect.

[Requirement] Add the clickToEdit and minColumnWidth parameters.

[Requirement] add event onEndEdit

[Requirement] add method setColumnWidth (adjust the column width)

[Requirement] The onRClickToSelect parameter is renamed whenRClickToSelect.

Dialog Box

[Optimized] removed ligerDialogImagePath and changed it to $. ligerui. DialogImagePath.

[Requirement] add url setting method

[Requirement] added the onloaded event.

[Requirement] add parameters: show and title

Window

[Requirement] Add the load remote file method and set the url Method

Bubble

[Optimized] optimized bubble controls

Tree

[Requirement] add method arrayToTree

V1.1.1 update records

Comprehensive

[Requirement] provides extended interfaces for each component Manager

Table

[Requirement] Add the addRows method and add multiple rows at a time. The parameter is a row data array.

[Requirement] added the table column initialization hidden property hide.

[BUG] solved the problem that the page does not respond when the data returned from the table is empty.

[BUG] solves the problem of sorting hidden columns in a table and displaying hidden data

[BUG] solved the problem of displaying/hiding columns by right-clicking the header, but clicking show/hide columns in the header does not disappear.

[BUG] solved the problem of displaying/hiding columns by right-clicking the last column of the table and displaying/hiding columns.

[BUG] After hiding columns in a table, if the details are detailed, the width of the details is not changed according to the existing display columns.

[BUG] solved the problem that the show/hide column menu is not updated when calling show/hide column menu.

[BUG] solved the problem that data is not updated accurately when the tree table is enabled for editing status.

[BUG] fixed the BUG of enabling details in group mode

[BUG] solved the problem that no right Border exists when the group or detail box is displayed.

[BUG] fixed the problem that details or check boxes cannot be accurately displayed during statistics.

[BUG] fixed the problem that the Group cannot be accurately displayed when all groups are reduced.

[BUG] fixed the problem that the width of the header cannot be accurately displayed after columns are hidden.

Drop-down list

[BUG] fixed the problem where the grid width was not adjusted in the paging drop-down box.

Form

[BUG] cannot set the text length. Text itself can be set, but no parameter is passed during text initialization in form.

[Requirement] provides an interface for setting read-only, obtaining and setting values for each form element "manager ".

Interface display:

V1.1.5 supports fixed columns

You can merge multiple headers across columns:

Row editing mode:

Details editing mode:

Original article: http://www.cnblogs.com/leoxie2011/archive/2012/01/16/2323188.html

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.