Replies: 1 comment
-
More current 1.5 -> 2.0 upgrade guide is here #2403 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1.4.x -> 1.5rc1:
see issue #1351
1.5rc1 -> 1.5 final
The following properties are deprecated and you will see a notice in the browser's dev console if you are still using them:
w2form:
w2grid:
w2layout:
w2toolbar:
w2sidebar:
Other Changes and Features:
(but alpha channel preview is broken if jquery-ui is loaded)
http://w2ui.com/web/demos/#!fields/fields-8
field.options : { prefix : '#' },
Feature Request: Bring back the old w2field checkbox style as an option #1947 (CLOSED)
to restore old behavior
field.html.text
must be used instead offield.html.label
http://w2ui.com/web/demos/#!forms/forms/11
enable, disable, show, hide
to manipulate multiple fields at oncehtml, empty, custom, check, checks (alias), map, array
onProgress
onInput
httpHeaders
to provide headers in AJAX callsmethod
to override w2utils.settings.dataTypew2grid.column.clipboardCopy
adds a copy icon next to the value in the column
https://github.com/vitmalina/w2ui/blob/master/src/w2grid.js#L2491
Weird changes in server-side API #1869
Latest w2grid pass 'cmd' to remote data source, php, problem #1837 (comment)
1.5 final -> 2.0 (WIP)
As 2.0 is currently in development, this section will be updated as development progresses.
Note: most of the properties that have been marked as deprecated in 1.5 are now removed!
w2layout:
w2field:
$().w2field('addType', 'myType', function (options) {
is nowaddType( 'myType', function(options) {
onNew
is no longer enough to add arbitrary items. You need to setoptions.autoAdd: true
now.w2grid:
recordHeight
: default changed from 24 to 32 ( #914e2be3 )w2form:
focus
can be a stringapplyFocus()
takes an optional string/integer argument and returnd the focused element (orundefined
if the index/field could not be focused)w2popup:
openMaximized
w2utils:
w2utils.lang
will by default result in a warning being logged to the console. You can change this behavior in the w2uils settings.Translations added:
Translations removed:
Translations changed:
Beta Was this translation helpful? Give feedback.
All reactions