The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 50 more by this user. Created: 02/3/11
Last CDN Push: 03/6/14
Build Tag: gallery-2014.03.06-14-38
Project: YUI 3
License: YUI BSD
YUI Version: 3.5.1
Free for use.
QuickEdit converts all displayed values (in the columns you choose to configure) into input fields so the user can change all the values in a single bulk operation.
Example of how to configure the DataTable.
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2014.03.06-14-38'
}).use('gallery-quickedit', function(Y) {
var cols = [
{ key: 'title', label: 'Title', quickEdit: true },
{ key: 'year', label: 'Year' },
{ key: 'quantity', label: 'Quantity',
quickEdit: {
validation: { css: 'yiv-required yiv-integer:[0,]' }
}
}
];
var table = new Y.DataTable.Base({columnset: cols});
table.plug(Y.Plugin.DataTableDataSource, {datasource: ds});
table.plug(Y.Plugin.DataTableQuickEdit, {changesAlwaysInclude: ['id']});
table.render("#table");
});
Subject | Author | Date |
---|---|---|
Quick Edit is not working with YUI3 | upk0000 | 06/22/11 |
Quick Edit is not working with YUI3 | upk0000 | 06/23/11 |
Re: Quick Edit is not working with YUI3 | John Lindal | 07/5/11 |
Re: Quick Edit is not working with YUI3 | John Lindal | 07/5/11 |
Examples for implementing QuickEdit Formatters | Jon Sword | 10/12/11 |
Re: Examples for implementing QuickEdit Formatters | Jon Sword | 10/12/11 |
Datatable QuickEdit cols[this._getColumnKey(e)] is undefined | Jon Sword | 10/18/11 |
Re: Datatable QuickEdit cols[this._getColumnKey(e)] is undef | Jon Sword | 10/18/11 |
Re: Examples for implementing QuickEdit Formatters | John Lindal | 10/25/11 |
Re: Examples for implementing QuickEdit Formatters | John Lindal | 10/25/11 |
All code on this site is licensed under the BSD License unless stated otherwise.