Results 1 to 4 of 4

Thread: ExtJS 4.0.7 Bugs - Accordian

  1. #1
    Sencha Premium User lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 千葉
    Posts
    666
    Answers
    10
    Vote Rating
    20
      0  

    Question ExtJS 4.0.7 Bugs - Accordian

    I have a TabPanel with the border layout with grid and accordian child components. I have configured all but 1 panel under the accordian layout to be hidden.

    EXTJS 4.0.7 Accordian BUG 1.jpg

    Here's the UI code:
    PHP Code:
    Ext.define('RichieBartlett.view.ui.resumeTAB', {
        
    extend'Ext.tab.Panel',

        
    border0,
        
    id'resumeTAB',
        
    itemId'resumeTAB',
        
    layout: {
            
    type'border'
        
    },
        
    iconCls'icon-TABresumes',
        
    title'Resume Manager',
        
    minTabWidth150,

        
    initComponent: function() {
            var 
    me this;

            
    Ext.applyIf(me, {
                
    items: [
                    {
                        
    xtype'panel',
                        
    id'requestProfileTAB',
                        
    layout: {
                            
    type'border'
                        
    },
                        
    title'Profiles',
                        
    items: [
                            {
                                
    xtype'gridpanel',
                                
    id'resumeProfilesGrid',
                                
    itemId'resumeProfilesGrid',
                                
    minWidth490,
                                
    style: {
                                    
    borderSpacing0
                                
    },
                                
    width600,
                                
    store'resumeProfile',
                                
    region'west',
                                
    splittrue,
                                
    dockedItems: [
                                    {
                                        
    xtype'toolbar',
                                        
    dock'top',
                                        
    items: [
                                            {
                                                
    xtype'button',
                                                
    id'resumeProfilesAdd',
                                                
    itemId'resumeProfilesAdd',
                                                
    iconCls'icon-BlogMenuNew',
                                                
    text'Add'
                                            
    },
                                            {
                                                
    xtype'button',
                                                
    disabledtrue,
                                                
    id'resumeProfilesDel',
                                                
    itemId'resumeProfilesDel',
                                                
    iconCls'icon-BlogMenuDel',
                                                
    text'Remove'
                                            
    },
                                            {
                                                
    xtype'button',
                                                
    id'resumeProfilesReload',
                                                
    itemId'resumeProfilesReload',
                                                
    iconCls'icon-reload',
                                                
    text'Reload'
                                            
    },
                                            {
                                                
    xtype'tbfill'
                                            
    },
                                            {
                                                
    xtype'triggerfield',
                                                
    id'resumeSearchFilter',
                                                
    itemId'resumeSearchFilter',
                                                
    width150,
                                                
    inputId'resumeSearchFilterI',
                                                
    submitValuefalse,
                                                
    emptyText'Search Profiles',
                                                
    enableKeyEventstrue,
                                                
    hideTriggertrue
                                            
    },
                                            {
                                                
    xtype'button',
                                                
    id'resumeSearchFilterFind',
                                                
    itemId'resumeSearchFilterFind',
                                                
    iconCls'icon-filter'
                                            
    },
                                            {
                                                
    xtype'button',
                                                
    id'resumeSearchFilterClear',
                                                
    itemId'resumeSearchFilterClear',
                                                
    iconCls'icon-filterClear'
                                            
    }
                                        ]
                                    },
                                    {
                                        
    xtype'pagingtoolbar',
                                        
    id'resumeProfilesGridPageBar',
                                        
    itemId'resumeProfilesGridPageBar',
                                        
    displayInfotrue,
                                        
    store'resumeProfile',
                                        
    dock'bottom'
                                    
    }
                                ],
                                
    viewConfig: {
                                    
    styleHtmlContenttrue,
                                    
    autoScrolltrue,
                                    
    emptyText'No Profiles found. <BR>Click on the "Add" button above to create a profile.',
                                    
    loadingText'Waiting for Resume list...',
                                    
    singleSelecttrue,
                                    
    trackOvertrue
                                
    },
                                
    selModelExt.create('Ext.selection.RowModel', {
                                    
    mode'MULTI'
                                
    }),
                                
    columns: [
                                    {
                                        
    xtype'numbercolumn',
                                        
    width50,
                                        
    dataIndex'id',
                                        
    text'ID',
                                        
    format0
                                    
    },
                                    {
                                        
    xtype'booleancolumn',
                                        
    width45,
                                        
    dataIndex'visible',
                                        
    text'Visible'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    width125,
                                        
    dataIndex'name',
                                        
    text'Name'
                                    
    },
                                    {
                                        
    xtype'datecolumn',
                                        
    width175,
                                        
    dataIndex'created',
                                        
    text'Created',
                                        
    format'Y/m/d G:i:s'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    hiddentrue,
                                        
    dataIndex'summary',
                                        
    text'Summary'
                                    
    }
                                ]
                            },
                            {
                                
    xtype'container',
                                
    id'resumeManager',
                                
    itemId'resumeManager',
                                
    minWidth550,
                                
    defaults: {
                                    
    autoScrolltrue,
                                    
    collapsedtrue,
                                    
    titleCollapsetrue
                                
    },
                                
    layout: {
                                    
    type'accordion'
                                
    },
                                
    region'center',
                                
    items: [
                                    {
                                        
    xtype'form',
                                        
    hiddentrue,
                                        
    id'resumeForm',
                                        
    itemId'resumeForm',
                                        
    layout: {
                                            
    type'fit'
                                        
    },
                                        
    bodyPadding10,
                                        
    collapsedtrue,
                                        
    title'Profile Details',
                                        
    titleCollapsetrue,
                                        
    region'center',
                                        
    items: [
                                            {
                                                
    xtype'container',
                                                
    height30,
                                                
    layout: {
                                                    
    align'stretch',
                                                    
    type'hbox'
                                                
    },
                                                
    items: [
                                                    {
                                                        
    xtype'textfield',
                                                        
    id'resumeProfileName',
                                                        
    itemId'resumeProfileName',
                                                        
    name'resumeProfileName',
                                                        
    fieldLabel'Profile Name',
                                                        
    allowBlankfalse,
                                                        
    blankText'Profile Name is required!',
                                                        
    emptyText'Enter Resume Profile name...',
                                                        
    minLength4,
                                                        
    flex3
                                                    
    },
                                                    {
                                                        
    xtype'checkboxfield',
                                                        
    id'resumeProfileVisible',
                                                        
    itemId'resumeProfileVisible',
                                                        
    name'resumeProfileVisible',
                                                        
    fieldLabel'&nbsp;',
                                                        
    labelSeparator'&nbsp;',
                                                        
    labelWidth15,
                                                        
    boxLabel'Visible',
                                                        
    flex1
                                                    
    }
                                                ]
                                            },
                                            {
                                                
    xtype'textareafield',
                                                
    id'resumeProfileDescript',
                                                
    itemId'resumeProfileDescript',
                                                
    minHeight300,
                                                
    minWidth400,
                                                
    name'resumeProfileDescript',
                                                
    fieldLabel'Summary',
                                                
    emptyText'Short Summary of this resume profile. (i.e.) Highlight your best qualities for this resume...',
                                                
    anchor'100%'
                                            
    },
                                            {
                                                
    xtype'hiddenfield',
                                                
    id'resumeProfileID',
                                                
    itemId'resumeProfileID',
                                                
    name'resumeProfileID',
                                                
    anchor'100%'
                                            
    },
                                            {
                                                
    xtype'container',
                                                
    layout: {
                                                    
    align'middle',
                                                    
    type'hbox'
                                                
    },
                                                
    anchor'100%',
                                                
    items: [
                                                    {
                                                        
    xtype'button',
                                                        
    height25,
                                                        
    id'resumeProfSave',
                                                        
    itemId'resumeProfSave',
                                                        
    text'Save',
                                                        
    flex1,
                                                        
    margins'5 5 0 5'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    height25,
                                                        
    id'resumeProfReset',
                                                        
    itemId'resumeProfReset',
                                                        
    text'Reset',
                                                        
    flex1,
                                                        
    margins'5 5 0 5'
                                                    
    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        
    xtype'gridpanel',
                                        
    hiddentrue,
                                        
    id'resumeFiles',
                                        
    itemId'resumeFiles',
                                        
    width150,
                                        
    collapsedtrue,
                                        
    title'Files',
                                        
    titleCollapsetrue,
                                        
    store'resumeFiles',
                                        
    region'west',
                                        
    dockedItems: [
                                            {
                                                
    xtype'toolbar',
                                                
    dock'top',
                                                
    items: [
                                                    {
                                                        
    xtype'container',
                                                        
    html'&nbsp;&nbsp;* Filename must be supported in English Unix characters... Server does <i>not</i> support Unicode filenames at this time.',
                                                        
    styleHtmlContenttrue
                                                    
    }
                                                ]
                                            },
                                            {
                                                
    xtype'toolbar',
                                                
    dock'top',
                                                
    items: [
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumeProfileFileAdd',
                                                        
    itemId'resumeProfileFileAdd',
                                                        
    width100,
                                                        
    iconCls'icon-fileImport',
                                                        
    text'Add Resume'
                                                    
    },
                                                    {
                                                        
    xtype'tbspacer'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumeProfileFileDel',
                                                        
    itemId'resumeProfileFileDel',
                                                        
    width100,
                                                        
    iconCls'icon-fileDel',
                                                        
    text'Delete'
                                                    
    },
                                                    {
                                                        
    xtype'tbspacer'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumeProfileFileReload',
                                                        
    itemId'resumeProfileFileReload',
                                                        
    width100,
                                                        
    iconCls'icon-reload',
                                                        
    text'Reload'
                                                    
    }
                                                ]
                                            }
                                        ],
                                        
    viewConfig: {
                                            
    frametrue,
                                            
    emptyText'No resumes uploaded...',
                                            
    loadingText'Scanning Files...'
                                        
    },
                                        
    plugins: [
                                            
    Ext.create('Ext.grid.plugin.CellEditing', {

                                            })
                                        ],
                                        
    columns: [
                                            {
                                                
    xtype'numbercolumn',
                                                
    hiddentrue,
                                                
    width50,
                                                
    dataIndex'id',
                                                
    text'Id',
                                                
    format0
                                            
    },
                                            {
                                                
    xtype'gridcolumn',
                                                
    width200,
                                                
    dataIndex'filename',
                                                
    text'Filename'
                                            
    },
                                            {
                                                
    xtype'gridcolumn',
                                                
    width75,
                                                
    dataIndex'type',
                                                
    text'Type'
                                            
    },
                                            {
                                                
    xtype'numbercolumn',
                                                
    width80,
                                                
    dataIndex'size',
                                                
    text'Size'
                                            
    },
                                            {
                                                
    xtype'numbercolumn',
                                                
    width120,
                                                
    dataIndex'lang',
                                                
    text'Language'
                                            
    },
                                            {
                                                
    xtype'gridcolumn',
                                                
    width100,
                                                
    dataIndex'dTime',
                                                
    text'DateTime'
                                            
    }
                                        ]
                                    },
                                    {
                                        
    xtype'form',
                                        
    hiddentrue,
                                        
    id'resumeLinks',
                                        
    itemId'resumeLinks',
                                        
    width150,
                                        
    defaults: {
                                            
    labelWidth70
                                        
    },
                                        
    layout: {
                                            
    type'fit'
                                        
    },
                                        
    bodyPadding10,
                                        
    collapsedtrue,
                                        
    title'Links',
                                        
    titleCollapsetrue,
                                        
    region'east',
                                        
    items: [
                                            {
                                                
    xtype'fieldset',
                                                
    defaults: {
                                                    
    labelWidth70
                                                
    },
                                                
    title'URL Details',
                                                
    items: [
                                                    {
                                                        
    xtype'container',
                                                        
    height25,
                                                        
    layout: {
                                                            
    align'stretch',
                                                            
    type'hbox'
                                                        
    },
                                                        
    anchor'100%',
                                                        
    items: [
                                                            {
                                                                
    xtype'textfield',
                                                                
    id'resumeLinkName',
                                                                
    itemId'resumeLinkName',
                                                                
    name'resumeLinkName',
                                                                
    fieldLabel'Link Name',
                                                                
    labelWidth70,
                                                                
    emptyText'Text to represent the URL link...',
                                                                
    flex5
                                                            
    },
                                                            {
                                                                
    xtype'checkboxfield',
                                                                
    id'resumeLinkShow',
                                                                
    itemId'resumeLinkShow',
                                                                
    name'resumeLinkShow',
                                                                
    fieldLabel'&nbsp;',
                                                                
    labelSeparator'&nbsp;',
                                                                
    labelWidth15,
                                                                
    boxLabel'Visible',
                                                                
    flex1
                                                            
    }
                                                        ]
                                                    },
                                                    {
                                                        
    xtype'textareafield',
                                                        
    id'resumeLinkDescript',
                                                        
    itemId'resumeLinkDescript',
                                                        
    name'resumeLinkDescript',
                                                        
    fieldLabel'Description',
                                                        
    emptyText'Enter a short description regarding URL...',
                                                        
    anchor'100%'
                                                    
    },
                                                    {
                                                        
    xtype'hiddenfield',
                                                        
    id'resumeLinkID',
                                                        
    itemId'resumeLinkID',
                                                        
    name'resumeLinkID',
                                                        
    value0,
                                                        
    anchor'100%'
                                                    
    },
                                                    {
                                                        
    xtype'hiddenfield',
                                                        
    itemId'MAX_FILE_SIZE',
                                                        
    name'MAX_FILE_SIZE',
                                                        
    value8000000
                                                    
    },
                                                    {
                                                        
    xtype'fieldset',
                                                        
    id'resumeLinkImg',
                                                        
    itemId'resumeLinkImg',
                                                        
    layout: {
                                                            
    align'stretchmax',
                                                            
    type'hbox'
                                                        
    },
                                                        
    checkboxToggletrue,
                                                        
    collapsedtrue,
                                                        
    title'Image to represent the Link',
                                                        
    anchor'100%',
                                                        
    items: [
                                                            {
                                                                
    xtype'container',
                                                                
    width80,
                                                                
    layout: {
                                                                    
    type'anchor'
                                                                
    },
                                                                
    flex1,
                                                                
    items: [
                                                                    {
                                                                        
    xtype'radiofield',
                                                                        
    id'resumeLinkRadioFile',
                                                                        
    itemId'resumeLinkRadioFile',
                                                                        
    name'resumeLinkRadioFe',
                                                                        
    value'F',
                                                                        
    labelPad10,
                                                                        
    boxLabel'Local'
                                                                    
    },
                                                                    {
                                                                        
    xtype'radiofield',
                                                                        
    id'resumeLinkRadioURL',
                                                                        
    itemId'resumeLinkRadioURL',
                                                                        
    name'resumeLinkRadioFe',
                                                                        
    value'U',
                                                                        
    labelPad10,
                                                                        
    boxLabel'URL'
                                                                    
    }
                                                                ]
                                                            },
                                                            {
                                                                
    xtype'container',
                                                                
    layout: {
                                                                    
    type'anchor'
                                                                
    },
                                                                
    flex6,
                                                                
    items: [
                                                                    {
                                                                        
    xtype'filefield',
                                                                        
    disabledtrue,
                                                                        
    id'resumeLinkLocal',
                                                                        
    itemId'resumeLinkLocal',
                                                                        
    name'resumeLinkLocal',
                                                                        
    emptyText'No File Selected',
                                                                        
    buttonText'Attach File...',
                                                                        
    anchor'100%'
                                                                    
    },
                                                                    {
                                                                        
    xtype'textfield',
                                                                        
    disabledtrue,
                                                                        
    id'resumeLinkURL',
                                                                        
    itemId'resumeLinkURL',
                                                                        
    name'resumeLinkURL',
                                                                        
    emptyText'http://',
                                                                        
    anchor'100%'
                                                                    
    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        
    xtype'textfield',
                                                        
    id'resumeLinkURLaddress',
                                                        
    itemId'resumeLinkURLaddress',
                                                        
    name'resumeLinkURLaddress',
                                                        
    fieldLabel'Link',
                                                        
    emptyText'http://',
                                                        
    anchor'100%'
                                                    
    },
                                                    {
                                                        
    xtype'progressbar',
                                                        
    hiddentrue,
                                                        
    id'resumeLinkProgress',
                                                        
    itemId'resumeLinkProgress',
                                                        
    margin5,
                                                        
    animatetrue,
                                                        
    text'Upload: ',
                                                        
    value0.01,
                                                        
    anchor'100%'
                                                    
    }
                                                ]
                                            },
                                            {
                                                
    xtype'gridpanel',
                                                
    height250,
                                                
    id'resumeLinkGrid',
                                                
    itemId'resumeLinkGrid',
                                                
    store'resumeLinks',
                                                
    dockedItems: [
                                                    {
                                                        
    xtype'toolbar',
                                                        
    dock'top',
                                                        
    items: [
                                                            {
                                                                
    xtype'button',
                                                                
    height25,
                                                                
    id'resumeLinkSave',
                                                                
    itemId'resumeLinkSave',
                                                                
    iconCls'icon-LinkAdd',
                                                                
    text'Add Link',
                                                                
    margins'5 5 0 5'
                                                            
    },
                                                            {
                                                                
    xtype'button',
                                                                
    height25,
                                                                
    id'resumeLinkDel',
                                                                
    itemId'resumeLinkDel',
                                                                
    iconCls'icon-LinkDelete',
                                                                
    text'Delete',
                                                                
    margins'5 5 0 5'
                                                            
    },
                                                            {
                                                                
    xtype'button',
                                                                
    height25,
                                                                
    id'resumeLinkReload',
                                                                
    itemId'resumeLinkReload',
                                                                
    iconCls'icon-reload',
                                                                
    text'Refresh',
                                                                
    margins'5 5 0 5'
                                                            
    },
                                                            {
                                                                
    xtype'button',
                                                                
    height25,
                                                                
    id'resumeLinkReset',
                                                                
    itemId'resumeLinkReset',
                                                                
    iconCls'icon-LinkReset',
                                                                
    text'* Reset URL Details',
                                                                
    margins'5 5 0 5'
                                                            
    }
                                                        ]
                                                    }
                                                ],
                                                
    viewConfig: {
                                                    
    emptyText'No Links have been registered...',
                                                    
    loadingText'Querying server for this profile\'s Links...'
                                                
    },
                                                
    columns: [
                                                    {
                                                        
    xtype'numbercolumn',
                                                        
    hiddentrue,
                                                        
    dataIndex'id',
                                                        
    text'Id',
                                                        
    format0
                                                    
    },
                                                    {
                                                        
    xtype'booleancolumn',
                                                        
    width45,
                                                        
    dataIndex'visible',
                                                        
    text'Visible'
                                                    
    },
                                                    {
                                                        
    xtype'gridcolumn',
                                                        
    width250,
                                                        
    dataIndex'linkName',
                                                        
    text'LinkName'
                                                    
    },
                                                    {
                                                        
    xtype'gridcolumn',
                                                        
    width250,
                                                        
    dataIndex'link',
                                                        
    text'Link'
                                                    
    },
                                                    {
                                                        
    xtype'gridcolumn',
                                                        
    hiddentrue,
                                                        
    dataIndex'filePath',
                                                        
    text'FilePath'
                                                    
    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        
    xtype'gridpanel',
                                        
    height150,
                                        
    hiddentrue,
                                        
    id'resumeFilter',
                                        
    itemId'resumeFilter',
                                        
    collapsedtrue,
                                        
    title'Block Filters',
                                        
    titleCollapsetrue,
                                        
    store'resumeFilter',
                                        
    region'north',
                                        
    dockedItems: [
                                            {
                                                
    xtype'toolbar',
                                                
    dock'top',
                                                
    items: [
                                                    {
                                                        
    xtype'container',
                                                        
    html'&nbsp;*&nbsp; Block filters are used to tag potential employers and prevent them from downloading your resumes.',
                                                        
    styleHtmlContenttrue
                                                    
    }
                                                ]
                                            },
                                            {
                                                
    xtype'toolbar',
                                                
    dock'top',
                                                
    items: [
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumefBlockKeyAdd',
                                                        
    itemId'resumefBlockKeyAdd',
                                                        
    width100,
                                                        
    iconCls'icon-keyAdd',
                                                        
    text'Add'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumefBlockKeyDel',
                                                        
    itemId'resumefBlockKeyDel',
                                                        
    width100,
                                                        
    iconCls'icon-keyDel',
                                                        
    text'Remove'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumefBlockKeyReload',
                                                        
    itemId'resumefBlockKeyReload',
                                                        
    width100,
                                                        
    iconCls'icon-reload',
                                                        
    text'Reload'
                                                    
    },
                                                    {
                                                        
    xtype'tbseparator'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumefBlockKeySave',
                                                        
    itemId'resumefBlockKeySave',
                                                        
    iconCls'icon-disk',
                                                        
    text'Save Changes'
                                                    
    },
                                                    {
                                                        
    xtype'button',
                                                        
    id'resumefBlockKeyForget',
                                                        
    itemId'resumefBlockKeyForget',
                                                        
    iconCls'icon-trashcan',
                                                        
    text'Forget Changes'
                                                    
    }
                                                ]
                                            }
                                        ],
                                        
    viewConfig: {
                                            
    emptyText'No filters defined...',
                                            
    loadingText'Checking database for registered keywords',
                                            
    multiSelecttrue,
                                            
    trackOvertrue
                                        
    },
                                        
    selModelExt.create('Ext.selection.CheckboxModel', {
                                            
    checkOnlytrue
                                        
    }),
                                        
    plugins: [
                                            
    Ext.create('Ext.grid.plugin.CellEditing', {

                                            })
                                        ],
                                        
    columns: [
                                            {
                                                
    xtype'numbercolumn',
                                                
    hiddentrue,
                                                
    width50,
                                                
    dataIndex'id',
                                                
    text'ID',
                                                
    format0,
                                                
    field: {
                                                    
    xtype'numberfield',
                                                    
    readOnlytrue
                                                
    }
                                            },
                                            {
                                                
    xtype'gridcolumn',
                                                
    dataIndex'keyword',
                                                
    flex1,
                                                
    text'Keyword',
                                                
    field: {
                                                    
    xtype'textfield'
                                                
    }
                                            }
                                        ]
                                    },
                                    {
                                        
    xtype'form',
                                        
    height150,
                                        
    html'Select a profile on the left to preview.',
                                        
    id'resumeMain',
                                        
    layout: {
                                            
    type'fit'
                                        
    },
                                        
    bodyPadding10,
                                        
    collapsedfalse,
                                        
    title'< Preview >',
                                        
    titleCollapsetrue,
                                        
    region'south'
                                    
    }
                                ]
                            }
                        ]
                    },
                    {
                        
    xtype'panel',
                        
    id'resumeReqTAB',
                        
    layout: {
                            
    type'fit'
                        
    },
                        
    title'Requests',
                        
    dockedItems: [
                            {
                                
    xtype'toolbar',
                                
    width150,
                                
    region'west',
                                
    dock'top',
                                
    items: [
                                    {
                                        
    xtype'button',
                                        
    id'resumeRequestorsReload',
                                        
    itemId'resumeRequestorsReload',
                                        
    iconCls'icon-reload',
                                        
    text'Reload'
                                    
    }
                                ]
                            }
                        ],
                        
    items: [
                            {
                                
    xtype'gridpanel',
                                
    id'resumeRequstorGrid',
                                
    store'resumeRequest',
                                
    region'center',
                                
    viewConfig: {
                                    
    emptyText'No Requests for your resume(s) found...',
                                    
    loadingText'Querying DB for Requestors'
                                
    },
                                
    columns: [
                                    {
                                        
    xtype'numbercolumn',
                                        
    hiddentrue,
                                        
    dataIndex'id',
                                        
    text'Id',
                                        
    format0
                                    
    },
                                    {
                                        
    xtype'numbercolumn',
                                        
    dataIndex'profileID',
                                        
    text'Profile'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'filename',
                                        
    text'Filename'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'email',
                                        
    text'Email'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'name',
                                        
    text'Name'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'company',
                                        
    text'Company'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'phone',
                                        
    text'Phone'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'IP',
                                        
    text'IP'
                                    
    },
                                    {
                                        
    xtype'gridcolumn',
                                        
    dataIndex'dTime',
                                        
    text'DTime'
                                    
    }
                                ]
                            }
                        ]
                    },
                    {
                        
    xtype'panel',
                        
    html'//TODO: build search engine',
                        
    id'resumeSearchTAB',
                        
    layout: {
                            
    type'fit'
                        
    },
                        
    title'Search'
                    
    }
                ]
            });

            
    me.callParent(arguments);
        }
    }); 
    In my add function, it shows the hidden accordian panels. The problem is they display with double (annoying) title bars. This is not desirable at all. Is this a bug? Or, am I missing something?

    EXTJS 4.0.7 Accordian BUG 2.jpg

    Here's the code in all it's (buggy) glory:
    PHP Code:
    Ext.define('RichieBartlett.controller.resumeTAB', {
        
    extend'Ext.app.Controller',
        
    stores: [
            
    'resumeFiles',
            
    'resumeFileType',
            
    'resumeFilter',
            
    'resumeLinks',
            
    'resumeProfile',
            
    'resumeRequest'
        
    ],
        
    views:['resumeTAB'],
        
    refs: [{
            
    ref'RequestProfileTAB',
            
    selector'panel[id=requestProfileTAB]'
        
    }, {
            
    ref'ResumeReqTAB',
            
    selector'panel[id=resumeReqTAB]'
        
    }, {
            
    ref'ResumeSearchTAB',
            
    selector'panel[id=resumeSearchTAB]'
        
    }, {
            
    ref'ResumeProfilesGrid',
            
    selector'#resumeProfilesGrid'
        
    }, {
            
    ref'ResumeForm',
            
    selector'#resumeForm'
        
    }, {
            
    ref'ResumeFiles',
            
    selector'#resumeFiles'
        
    }, {
            
    ref'ResumeLinks',
            
    selector'#resumeLinks'
        
    }, {
            
    ref'ResumeFilter',
            
    selector'#resumeFilter'
        
    }, {
            
    ref'ResumeMain',
            
    selector'#resumeMain'
        
    }],
        
        
    init:function(){
            if(
    Ext.isGecko && debugconsole.log(" resumeTAB.controllerInit()");
            var 
    me=this;
            
    /*
            me.application.on({//handle system-application wide events and calls here!!
                'event': me.event,
                'event2': me.event
            });
            */
            
    me.control({
                
    'panel[itemId=resumeTAB]':{ //tabPanel object
                    
    afterrenderme.initResumeTAB,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    'panel[id=requestProfileTAB]':{ //tabPanel object
                    //afterrender: me.initResumeTAB,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    'panel[id=resumeReqTAB]':{ //tabPanel object
                    //afterrender: me.initResumeTAB,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    'panel[id=resumeSearchTAB]':{ //tabPanel object
                    //afterrender: me.initResumeTAB,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    'button[id=resumeProfilesAdd]':{ //toolbar button object
                    
    clickme.resumeProfileCreate
                
    },
                
    'button[id=resumeProfilesEdit]':{ //toolbar button object
                    
    clickme.resumeProfileEdit
                
    },
                
    'button[id=resumeProfilesDel]':{ //toolbar button object
                    
    clickme.resumeProfileDelete
                
    },
                
    'button[id=resumeProfilesReload]':{ //toolbar button object
                    
    clickme.resumeProfilesReload
                
    },
                
    'button[id=resumeProfSave]':{ //button object
                    
    clickme.resumeProfileSave
                
    },
                
    '[inputId=resumeSearchFilterI]':{ //trigger object
                    
    keyupme.resumeSearchFilterKey
                
    },
                
    'button[id=resumeSearchFilter]':{ //button object
                    
    clickme.resumeSearchProfiles
                
    },
                
    'button[id=resumeSearchFilterClear]':{ //button object
                    
    clickme.resumeSearchClear
                
    },
                
    'button[id=resumeProfReset]':{ //button object
                    
    clickme.resumeProfileReset
                
    },
                
    'button[id=resumeProfileFileAdd]':{ //button object
                    
    clickme.resumeProfileFileAdd
                
    },
                
    'button[id=resumeProfileFileDel]':{ //button object
                    
    clickme.resumeProfileFileDel
                
    },
                
    'button[id=resumeProfileFileReload]':{ //button object
                    
    clickme.resumeProfileFileReload
                
    },
                
    '[id=resumeFiles]':{ //grid component
                    
    itemcontextmenume.cancelContextMenu,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    '[id=resumeLinkRadioFile]':{ // radio object
                    
    changeme.resumeRadioLinkFileOnClick
                
    },
                
    '[id=resumeLinkRadioURL]':{ // radio object
                    
    changeme.resumeRadioLinkFileOnClick
                
    },
                
    'button[id=resumeLinkSave]':{ //button object
                    
    clickme.resumeLinkSave
                
    },
                
    'button[id=resumeLinkDel]':{ //button object
                    
    clickme.resumeLinkDelete
                
    },
                
    'button[id=resumeLinkReset]':{ //button object
                    
    clickme.resumeLinkReset
                
    },
                
    'button[id=resumeLinkReload]':{ //button object
                    
    clickme.resumeLinkReload
                
    },
                
    '[id=resumeLinkGrid]':{ //grid component
                    
    itemcontextmenume.cancelContextMenu,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    'button[id=resumefBlockKeyAdd]':{ //button object
                    
    clickme.resumeFilterBlockKeyAdd
                
    },
                
    'button[id=resumefBlockKeyDel]':{ //button object
                    
    clickme.resumeFilterBlockKeyDel
                
    },
                
    'button[id=resumefBlockKeyReload]':{ //button object
                    
    clickme.resumefBlockKeyReload
                
    },
                
    'button[id=resumefBlockKeySave]':{ //button object
                    
    clickme.resumefBlockKeySave
                
    },
                
    'button[id=resumefBlockKeyForget]':{ //button object
                    
    clickme.resumefBlockKeyForget
                
    },
                
    '[id=resumeFilter]':{ //grid component
                    
    itemcontextmenume.cancelContextMenu,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    '[id=resumeProfilesGrid]':{ //grid component
                    
    containerclickme.resumeProfileDeselect,
                    
    selectionchangeme.resumeProfileSelectChange,
                    
    itemcontextmenume.cancelContextMenu,
                    
    containercontextmenume.cancelContextMenu
                
    },
                
    '[id=resumeRequstorGrid]':{ //grid component
                    
    itemcontextmenume.cancelContextMenu,
                    
    containercontextmenume.cancelContextMenu
                
    }
            });
            
        },
        
    profileID:0// easy place to store current selected profile.id; new = 0;
        
    linkID:0// easy place to store current link.id; new = 0;
        
    filterID:0// easy place to store current filter.id; new = 0;
        
    initResumeTAB: function () {
            var 
    me=this;
            if(
    Ext.isGecko && debugconsole.log(" resumeTAB.controller.appRendered()");
            
    /*
            me.getResumeForm().hide();
            me.getResumeFiles().hide();
            me.getResumeLinks().hide();
            me.getResumeFilter().hide();
            */
            
    me.resumeProfilesReload();
            
    me.getResumeMain().expand();
        },
        
    resumeProfileDeselect: function ( thisGrideeListener ) {
            try {
            
    thisGrid.getSelectionModel().select(-1); //clear all selections;
            
    } catch (e) {}
        },
        
    resumeProfileSelectChange: function ( modelRecordmodelRecordSelectedeListener ) {
            var 
    me=this;
            var 
    grid me.getResumeProfilesGrid();
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileSelectChange(" modelRecordSelected.length ")");
                
    //console.dir(this);
            
    }
            if ( 
    modelRecordSelected.length ) { //nothing selected!
                
    grid.down('#resumeProfilesDel').disable();
                
    me.profileID= -1;
                
    me.resumeProfileCreate();
            } else {
                if ( 
    modelRecordSelected.length === ) { //nothing selected!
                    
    grid.down('#resumeProfilesDel').enable();
                    
    me.resumeProfileEdit();
                }
    //end if 1 row selected
            
    }//end if select count
        
    },
        
    resumeProfileCreate: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileCreate()");
                
    //console.dir(this);
            
    }
            var 
    me=this;
            
    me.profileID=0;
            
    me.linkID=0;
            
    me.filterID=0;
            
    //clear the forms:
            
    me.resumeLinkReset();
            
    me.resumeProfileReset();
            
    //clear the gridStores:
            
    me.getResumeFilesStore().removeAll();
            
    me.getResumeLinksStore().removeAll();
            
    me.getResumeFilterStore().removeAll();
            
    //show the first form to setup the Profile
            
    me.getResumeForm().show();
            
    me.getResumeForm().expand();
            
    /*
            if (me.getResumeForm().collapsed) {
            }
            */
            
    me.getResumeForm().down("#resumeProfileName").setValue("");
            
    me.getResumeForm().down("#resumeProfileDescript").setValue("");
            
    me.getResumeForm().down("#resumeProfileVisible").setValue("");
            
    me.getResumeForm().down("#resumeProfileID").setValue(0);
            
            
    me.getResumeForm().down("#resumeProfileName").resetOriginalValue();
            
    me.getResumeForm().down("#resumeProfileDescript").resetOriginalValue();
            
    me.getResumeForm().down("#resumeProfileVisible").resetOriginalValue();
            
    me.getResumeForm().down("#resumeProfileID").resetOriginalValue();
            
            
    me.getResumeForm().down("#resumeProfSave").setText("Save");
            
    me.getResumeForm().down("[id=resumeProfileName]").selectText();
            
    //hide the other panels until the new profile is created
            
    me.getResumeFiles().hide();
            
    me.getResumeLinks().hide();
            
    me.getResumeFilter().hide();
            
    me.getResumeMain().hide();
        },
        
    resumeProfileEdit: function () {
            var 
    me=this;
            var 
    profileForm me.getResumeForm();
            var 
    grid me.getResumeProfilesGrid();
            var 
    gridRecord grid.getSelectionModel().getSelection()[0];
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileEdit({id:" gridRecord.getId() + "})");
                
    //console.dir(this);
            
    }
            if (
    me.profileID != gridRecord.getId()) {
                
    me.profileID gridRecord.getId();
                
    me.getResumeFiles().show();
                
    me.getResumeLinks().show();
                
    me.getResumeFilter().show();
                
    me.getResumeForm().show();
                
    //populate the Profile form
                
                
    profileForm.down("#resumeProfileName").setValue(gridRecord.get("name"));
                
    profileForm.down("#resumeProfileDescript").setValue(gridRecord.get("summary"));
                
    profileForm.down("#resumeProfileVisible").setValue(gridRecord.get("visible"));
                
    profileForm.down("#resumeProfileID").setValue(me.profileID);
                
    profileForm.down("#resumeProfileName").resetOriginalValue();
                
    profileForm.down("#resumeProfileDescript").resetOriginalValue();
                
    profileForm.down("#resumeProfileVisible").resetOriginalValue();
                
    profileForm.down("#resumeProfileID").resetOriginalValue();
                
    profileForm.down("#resumeProfSave").setText("Update");
                
    //load the grids
                /*
                this.getResumeFilesStore().load();
                this.getResumeLinksStore().load();
                this.getResumeFilterStore().load();
                */
                //update the Preview!
                
    me.getResumeMain().show();
                
    me.getResumeMain().expand();
            }
    //end if different ID selected

        
    },
        
    resumeSearchFilterKey: function(txtCmpeeListener){
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeSearchFilterKey()");
                
    //console.dir(this);
            
    }
            var 
    me=this;
            
    e.stopEvent();
            switch (
    e.getKey()){
                case 
    e.ENTER:
                    
    me.resumeSearchProfiles();
                    break;
                case 
    e.DELETEe.ESC//e.BACKSPACE, 
                    
    me.resumeSearchClear();
                    break;
            }
    //end switch e

        
    },
        
    resumeSearchProfiles: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeSearchProfiles()");
                
    //console.dir(this);
            
    }
            var 
    grid this.getResumeProfilesGrid();
            var 
    searchTxt =  grid.down("#resumeSearchFilter").getValue();
            if (
    searchTxt.length1) {
                var 
    gridStore grid.getStore();
                var 
    searchFilter = new Ext.util.Filter({
                    
    filterFn: function(item){
                        var 
    searchtest = new RegExp(Ext.String.escapeRegex(searchTxt), 'i');
                        return (
    searchtest.test(item.data.name) || searchtest.test(item.data.summary) || searchtest.test(item.data.created));
                    }
                });
                
    gridStore.clearFilter();
                
    gridStore.filter([searchFilter]);
            }

        },
        
    resumeSearchClear: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeSearchClear()");
                
    //console.dir(this);
            
    }
            var 
    grid this.getResumeProfilesGrid();
            
    grid.down("#resumeSearchFilter").setValue("");
            
    grid.getStore().clearFilter();

        },
        
    resumeProfilesReload: function () {
            
    this.getResumeProfileStore().load();
        },
        
    resumeProfileDelete: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileDelete()");
                
    //console.dir(this);
            
    }
        },
        
    resumeProfileSave: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileSave()");
                
    //console.dir(this);
            
    }
            var 
    grid this.getResumeProfilesGrid();
            var 
    profileForm this.getResumeForm();
            if (
    profileForm.getForm().isValid()) { //TODO: submit form and get new DB id.
                
    var dTime= new Date();
                
                var 
    newRecordExt.create('RichieBartlett.model.resumeProfile',{
                    
    newRecordId Ext.id(),
                    
    idthis.profileID++,
                    
    nameprofileForm.down("#resumeProfileName").getValue(),
                    
    summaryprofileForm.down("#resumeProfileDescript").getValue(),
                    
    visible profileForm.down("#resumeProfileVisible").getValue(),
                    
    createdExt.util.Format.date(dTime,"Y/m/d G:i:s")
                    
                });
        
                
    grid.getStore().insert(0newRecord );
            } else {
                
    Alert("Resume Manager","Please check a keyword to delete...");
            }
    //end if valid form

        
    },
        
    resumeProfileReset: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileReset()");
            }
            var 
    thisForm this.getResumeForm();
            
    thisForm.down("[id=resumeProfileName]").reset();
            
    thisForm.down("[id=resumeProfileVisible]").reset();
            
    thisForm.down("[id=resumeProfileDescript]").reset();
            
    thisForm.down("[id=resumeProfileID]").setValue(this.profileID);
            try {
                
    thisForm.down("[id=resumeProfileName]").selectText();
            } catch (
    e) {}

        },
        
    resumeProfileFileAdd: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileFileAdd()");
                
    //console.dir(this);
            
    }
            var 
    me=this;
            var 
    uploader;
            var 
    grid this.getResumeFiles();
            
    me.application.fireEvent('adminlogevent'"resumeProfileFileAdd()");
            
    grid.el.mask("Resume Manager<BR> Loading Upload tool"'x-mask-loading');
            
    uploader Ext.create('RichieBartlett.view.fileUploader', {renderToExt.getBody()});
            
    //winManager.handleID++;
            //winManager.currentFocus=winManager.handleID;
            
    uploader.on('show', function () {
                
    Ext.getCmp("fileProgress").reset();
                
    Ext.getCmp("fileSubmit").enable();
                
    Ext.getCmp("fileProgress").hide();
                
    grid.el.unmask();
                
    uploader.center();
            });
            
    uploader.show();
        },
        
    resumeProfileFileDel: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeProfileFileDel()");
                
    //console.dir(this);
            
    }

        },
        
    resumeProfileFileReload: function () {
            
    this.getResumeFilesStore().load();
        },
        
    resumeRadioLinkFileOnClick: function () {
            var 
    thisForm this.getResumeLinks();
            if(
    thisForm.down("#resumeLinkRadioFile").getValue()){
                
    thisForm.down("#resumeLinkURL").disable();
                
    thisForm.down("#resumeLinkLocal").enable();
                
    thisForm.down("#resumeLinkURL").setValue("");
            }else{
                
    thisForm.down("#resumeLinkLocal").disable();
                
    thisForm.down("#resumeLinkURL").enable();
                
    thisForm.down("#resumeLinkURL").setValue("http://");
                try {
                    
    thisForm.down("#resumeLinkURL").selectText();
                } catch (
    e) {}
            }

        },
        
    resumeLinkSave: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeLinkSave()");
                
    //console.dir(this);
            
    }

        },
        
    resumeLinkDelete: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeLinkReset()");
                
    //console.dir(this);
            
    }

        },
        
    resumeLinkReset: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeLinkReset()");
                
    //console.dir(this);
            
    }
            var 
    me=this;
            var 
    thisForm this.getResumeLinks();
            
    thisForm.down("[id=resumeLinkName]").setValue("");
            
    thisForm.down("[id=resumeLinkShow]").setValue(false);
            
    thisForm.down("[id=resumeLinkDescript]").setValue("");
            
    thisForm.down("[id=resumeLinkID]").setValue(this.linkID);
            
    thisForm.down("[id=resumeLinkLocal]").setValue("");
            
    thisForm.down("[id=resumeLinkURL]").setValue("");
            
    thisForm.down("[id=resumeLinkURLaddress]").setValue("");
            
    thisForm.down("[id=resumeLinkImg]").collapse();
            
    thisForm.down("[id=resumeLinkProgress]").reset();
            
    thisForm.down("[id=resumeLinkProgress]").hide();
            try {
                
    thisForm.down("[id=resumeLinkName]").selectText();
            } catch (
    e) {}
        },
        
    resumeLinkReload: function () {
            
    this.getResumeLinksStore().load();
        },
        
    resumeFilterBlockKeyAdd: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeFilterBlockKeyAdd()");
                
    //console.dir(this);
            
    }
            var 
    grid this.getResumeFilter();
            
            
    grid.editingPlugin.cancelEdit();
            
            var 
    newRecordExt.create('RichieBartlett.model.resumeFilter',{
                
    newRecordId Ext.id(),
                
    keyword"",
                
    profileIDthis.profileID    
            
    });

            
    grid.getStore().insert(0newRecord );
            
    grid.editingPlugin.startEditByPosition({row0column2});

        },
        
    resumeFilterBlockKeyDel: function () {
            
    //var grid= Ext.getCmp("resumeFilter");
            
    var gridthis.getResumeFilter();
            var 
    gridCntgrid.getSelectionModel().getCount();
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumeFilterBlockKeyDel( " gridCnt " )");
                
    //console.dir(this);
            
    }
            if ( 
    gridCnt ) {
                for (
    i=0i<gridCnti++) { 
                    var 
    recordToDelete grid.store.getAtgrid.getSelectionModel().getSelection()[i] );
                    
    this.getResumeFilterStore().removerecordToDelete ); //now, remove deleted row...
                
    }//end for i
            
    } else {
                
    Alert("Resume Manager","Please check a keyword to delete...");
            }
    //end if no selection
        
    },
        
    resumefBlockKeyReload: function () {
            
    //Ext.StoreMgr.lookup("resumeFilter").load();
            
    this.getResumeFilterStore().load();
        },
        
    resumefBlockKeySave: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumefBlockKeySave()");
                
    //console.dir(this);
            
    }
            
    //Ext.StoreMgr.lookup("resumeFilter").commitChanges();
            
    this.getResumeFilterStore().commitChanges();
        },
        
    resumefBlockKeyForget: function () {
            if (
    Ext.isGecko && debug) {
                
    console.log(" resumefBlockKeyForget()");
                
    //console.dir(this);
            
    }
            
    //Ext.StoreMgr.lookup("resumeFilter").rejectChanges();
            
    this.getResumeFilterStore().rejectChanges();
        },
        
    cancelContextMenu: function (objContainereeOpts) {
            if (
    && typeof(e)=="object" && e.preventDefault) {
                
    e.preventDefault();
            } else {
                
    Ext.EventObject.stopEvent(e);
            }
    //end if e (mouse/key)
        
    }


        
    }); 
    My next issue is the grid rows layout. For some strange reason the CSS shows the border-spacing set to '2px' ... [captured via fireBug]
    Code:
    .x-html table {
        border-spacing: 2px;
    
    
    }
    EXTJS 4.0.7 Accordian BUG 3.jpg


    Can anyone recommend advice to resolve my current issues?
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!
    ================================================
    And here are my terms...

    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.

    ================================================
    Simple. Enjoy.

  2. #2
    Sencha Premium User lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 千葉
    Posts
    666
    Answers
    10
    Vote Rating
    20
      0  

    Default

    The accordian layout seems very buggy if you config "hidden: true"...
    When I programmatically show the hidden panels, they appear with the extra title bar. However, If I don't hide them, then the accordian behaves as expected.


    Seems like the accordian doesn't like to have hidden components (panels). Can someone verify this is a bug??
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!
    ================================================
    And here are my terms...

    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.

    ================================================
    Simple. Enjoy.

  3. #3
    Sencha Premium User lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 千葉
    Posts
    666
    Answers
    10
    Vote Rating
    20
      0  

    Default //bump++;

    Any advice?
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!
    ================================================
    And here are my terms...

    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.

    ================================================
    Simple. Enjoy.

  4. #4
    Sencha Premium User lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 千葉
    Posts
    666
    Answers
    10
    Vote Rating
    20
      0  

    Default

    Can anyone explain why the grid is displaying the rows with a 2px border-spacing?
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!
    ================================================
    And here are my terms...

    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.

    ================================================
    Simple. Enjoy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •