Monthly Archives: April 2014

Download jQuery EasyUI 1.3.6

ChangeLog
Bug

treegrid: The ‘getChecked’ method can not return correct checked rows. fixed.
tree: The checkbox does not display properly on async tree when ‘onlyLeafCheck’ property is true. fixed.

Improvement

treegrid: All the selecting and checking methods are extended from datagrid component.
linkbutton: The icon alignment is fully supported, possible values are: ‘top’,’bottom’,’left’,’right’.
linkbutton: Add ‘size’ property, possible values are: ‘small’,’large’.
linkbutton: Add ‘onClick’ event.
menubutton: Add ‘menuAlign’ property that allows the user set top level menu alignment.
combo: Add ‘panelAlign’ property, possible values are: ‘left’,’right’.
calendar: The ‘formatter’,’styler’ and ‘validator’ options are available to custom the calendar dates.
calendar: Add ‘onChange’ event.
panel: Add ‘method’,’queryParams’ and ‘loader’ options.
panel: Add ‘onLoadError’ event.
datagrid: Add ‘onBeginEdit’ event that fires when a row goes into edit mode.
datagrid: Add ‘onEndEdit’ event that fires when finishing editing but before destroying editors.
datagrid: Add ‘sort’ method and ‘onBeforeSortColumn’ event.
datagrid: The ‘combogrid’ editor has been integrated into datagrid.
datagrid: Add ‘ctrlSelect’ property that only allows multi-selection when ctrl+click is used.
slider: Add ‘converter’ option that allows users determine how to convert a value to the slider position or the slider position to the value.
searchbox: Add ‘disabled’ property.
searchbox: Add ‘disable’,’enable’,’clear’,’reset’ methods.
spinner: Add ‘readonly’ property, ‘readonly’ method and ‘onChange’ event.

Download EasyUI Package

There are two editions of EasyUI package:
GPL Edition

The GPL Edition is available under GPL License, you can use it in any GPL-licensed projects. Download jQuery EasyUI under GPL license:

Download
Commercial Edition

The Commercial Edition is also available under Commercial License, you can use it in a non-GPL/proprietary project.

Purchase
Other Versions

The other released versions of jQuery EasyUI are also available. Click here to view a listing and choose which version you would like to download.

EasyUI1.2.5 assignment problem in Numberbox

The original application has been developed with EasyUI1.2.4, recent tests found value Numberbox components are submitted to 0, so the view js code found on numberbox assignment code is as follows:

$('#number').val(23);

EasyUI1.2.4 using the code assigned to numberbox success, and can be submitted to the background save, EasyUI1.2.5 not use this assignment method setValue assignment, the modified code as follows:

$('#number').numberbox('setValue',23);

EasyUI Datagrid component getFooterRows method of using the tutorial

 
The total amount of the project need to obtain aggregated footer, so check EasyUI the datagrid documents found getFooterRows method is used to obtain the footer, then write the following code:
var footers=$('#grid').datagrid('getFooterRows');
var sum=footers.Sum_Money;

But prompted footers.Sum_Money undefined undefined, online search under relevant information, there is no suitable answer, view the source code and found getFooterRows returns an array of all footer, even though only one here in my footer, it will still return an array so try to alert the next footers.length findings suggest that length is 1, then modify the code as follows:

var footers=$('#grid').datagrid('getFooterRows');
var sum=footers[0].Sum_Money;