Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var templ = new Ext.XTemplate(
- '<tpl if="isActive">',
- '<div style="color:red" class="',
- Ext.baseCSSPrefix + 'list-sortablehandle',
- '">',
- '</tpl>',
- '<b>Name: {text}</b>',
- '<tpl if="isActive">',
- '<b>{text}</b></div>',
- '</tpl>',
- {
- // XTemplate configuration:
- compiled: true,
- // member functions:
- isitem2: function (name) {
- return name == 'item2';
- },
- }
- );
- var targetItem = list.getItemAt(targetIndex);
- targetItem.down('.x-list-sortablehandle')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement