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 28 more by this user. Created: 12/4/10
Last CDN Push: 12/10/10
Build Tag: gallery-2010.12.10-17-31
Project: YUI 3
License: YUI BSD
YUI Version: 3.7.3
Free for use.
Moving to 'gallery-xarno-plugin-datatable-filter' and Y.Xarno.Plugin.DTFilter
Built to add functionality to [http://yuilibrary.com/gallery/show/simple-datatable Simple Data Table].
Plugin allows filtering of Simple Datatable by targeted columns, all columns, or row ids.
<script src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.12.10-17-31'
}).use('gallery-simple-datatable', 'gallery-plugin-simple-datatable-filter', function(Y) {
var grid = new Y.SimpleDatatable();
grid.set('headers',{id:{label:'Id', resizable:false}, title:'Title'});
grid.set('rows',[
{id:1,title:'Banana',__fileId:9},
{id:2,title:'Orange'},
{id:3,title:'Cherry'},
{id:4,title:'Grape Fruit'},
{id:5,title:'Watermelon'}
]);
grid.render('#grid');
grid.plug(Y.Plugin.SDTFilter);
grid.filter.filter('Orange');
});
Subject | Author | Date |
---|---|---|
Trying to experiment with this and can't get it to work | Huey Brantley | 07/13/10 |
Re: Trying to experiment with this and can't get it to work | Huey Brantley | 07/14/10 |
Example's style sheet missing | Huey Brantley | 07/14/10 |
Modified Variant of simple-datatable | Huey Brantley | 07/16/10 |
Re: Modified Variant of simple-datatable | Anthony Pipkin | 07/16/10 |
Re: Modified Variant of simple-datatable | Huey Brantley | 07/16/10 |
Re: Modified Variant of simple-datatable | Anthony Pipkin | 07/16/10 |
Purpose of _defSelectedFn method? | Huey Brantley | 07/23/10 |
Re: Purpose of _defSelectedFn method? | Anthony Pipkin | 07/25/10 |
Version 1.2.0 | Anthony Pipkin | 08/11/10 |
All code on this site is licensed under the BSD License unless stated otherwise.