Search:

Type: Posts; User: Yimin Rong

Search: Search took 0.03 seconds.

  1. Neither of those are breadth-first searches, I...

    Neither of those are breadth-first searches, I even included the results of those searches to show that they weren't breadth-first searches.
  2. Help adding a new class to an application

    I originally had my launch code in app.js for testing purposes, I'd like to move it to another folder in another file as a custom application.


    This is what app.js looks like now:

    ...
  3. Ext.ComponentQuery: implementing a breadth-first search

    I'd like matches higher in the hierarchy to appear before matches lower in the hierarchy.

    57240

    For example, if nodes D, E, G, and H matched the search criteria, I would get the results in this...
  4. How to invoke validation for FieldContainer?

    From the on-line documentation: FieldContainer is a derivation of Ext.container.Container that implements the Ext.form.Labelable mixin. This allows it to be configured so that it is rendered with a...
  5. Replies
    1
    Views
    173

    Custom form initialization

    We're doing some work with custom form initialization, in particular, setting up events where components on a form interact with each other. For example, an age text field is triggered by changes in...
  6. Figured it out. In ExtJS 6.5, the functionality...

    Figured it out. In ExtJS 6.5, the functionality is present.

    For ExtJS, 6.0 to 6.2, a workaround is to use store: {data: [{object1}, {object2}, ..., {objectN}]} or you might be able to override...
  7. Allow combobox and tagfield to use array of objects as store

    Currently you can specify a store in combobox or tagfield directly in several ways, including an array of strings, and an array of subarrays with pairs of values.

    I'd like to be able to specify a...
  8. Sencha workspace/app upgrade giving confusing error message

    I'm trying to upgrade a workspace and all of its apps from version 5.1.0.26 to version 6.2.1.29.

    The workspace builds correctly in 5.1.0.26 and a copy of it is located here:
    ...
  9. Think I've found it. There is one substantive...

    Think I've found it. There is one substantive difference in Sortable.js between 5.1.0 and 6.1.0 outlined here:...
  10. Fails in 5.1.0 and 5.1.1. I was hoping for...

    Fails in 5.1.0 and 5.1.1. I was hoping for something more elegant and less convoluted than creating a store, then pulling it all out again to put in back in the array. I think I'd have to iterate...
  11. Using Ext.util.Sortable to sort an array

    I'd like to reuse the sorters of a store to create a comparison function to sort an array. Here's the code I have simplified:

    // Data to sort
    var data =[
    {rank:2, name:'Zebra'},
    ...
  12. Turns out someone committed code to establish a...

    Turns out someone committed code to establish a secure connection in a standard environment which ended up not working on our local environments. Change reverted and now it works again!
  13. Have confirmed the issue was with legacy code...

    Have confirmed the issue was with legacy code traced to the use of a container with hbox layout with a label inside, e.g. like this:

    {
    xtype: 'container',
    layout: {


    type: 'hbox'...
  14. sencha web start - failed to resolve server URL

    Starting just this morning, I can no longer get the local web service running:

    > sencha web start
    Sencha Cmd v5.1.0.26
    [INF] Mapping http://localhost:1841/ to ....
    [INF]...
  15. Issue with click, refresh and scroll events

    In some longer forms which use a scroll bar to move to the last elements, we're encountering a bizarre problem. In most cases it works like this:
    scroll to an element
    click to set focus on the...
  16. label.El.dom.style.fontWeight

    Thank you. I did try that, but it wasn't having any effect. I came up with this:

    // TODO: remove this and define as CSS
    gender.labelEl.dom.style.fontWeight = 'bold';
  17. Ext.form.RadioGroup setting style of fieldLabel

    I understand the field label has complex styling and formatting involved during creation, wondering if there is a way to get to the element after it is created to restyle it?

    E.g. before:

    *...
  18. Resolved

    Standards and compliance has overridden UI/UX and indicated they want the action linked to TAB or ENTER as opposed to clicking a button. Problem is not a problem any more!
  19. Need to add a button to a textfield via overrides

    The original code is provided by a third party and we absolutely cannot modify it, can only use overrides.

    The idea is to provide a special lookup button for a textfield. The user enters a value,...
  20. Resolved

    Using explicit string for .query of '*[itemId=description]' and '*[itemId=name]' pulls up the components.
  21. Overriding initComponent - how to get the components?

    I'm trying to access the form's components in an override to customize. I have confirmed itemId == 'name' and == 'description', but this just pulls up undefined.

    ...
  22. Replies
    3
    Views
    248

    No, found out in another forum that 5.0.0 is...

    No, found out in another forum that 5.0.0 is missing that line. Added it, and it works like a charm.
  23. Replies
    3
    Views
    248

    Help with overrides

    In an existing ExtJS 5.0 project, absolutely cannot change the original code. We are allowed to add code to an existing overrides/ directory.

    I have an existing function generateTree in class...
Results 1 to 23 of 23