Search Type: Posts; User: Jack9

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    609
    Using prototype.js with ExtJS3 and ExtJS4, has proven to be troublesome for me.

    In both the ExtJS3 adapter (coming from the getDom method) and the ExtJS4 addListener, I see ExtJS trying to add...
  2. Replies
    0
    Views
    919
    I really hate lists that are elastic for no reason.


    Usage:

    new Ext.List({
    ...
    plugins:[
    new Ext.ux.ListBehave({pinTop:true,pinBot:true})
    ]
  3. Replies
    2
    Views
    1,203
    setActiveItem(obj,false); does not work. If you look at the source, it expects a cardanimation or it defaults to the tabpanel's defaultanimation. This means, you can't have a default animation on a...
  4. Replies
    2
    Views
    1,203
    I have a tabpanel with a default animation of "slide"
    I want to be able to change to a panel in the tabpanel with NO animation. How can I do that through setActiveItem? The cardanimation object...
  5. Replies
    17
    Views
    2,386
    ^
    |
    That one
  6. Stores don't enforce any type of data structure. The reader decides what data format it will accept. Models, conversely, do enforce a data structure (regardless of format).

    I don't know why a...
  7. Add the following listeners to your tab panel. This example says "don't show more than the first 5 items as tabs, even if I add more".


    ...
    listeners:{
    afterRender:function(){
    var...
  8. Wrapping something up in PhoneGap requires a simple Javascript wrapping function around the Ext.Setup({...}) and XCode to build it (for iPhone). Don't worry about that. That's the easy part.
    ...
  9. Replies
    17
    Views
    2,386
    That's fancy!

    Since you're working with centralized data, can't you put it in a singleton? window.my.name.space.mydata = data; then have stores both reference it?
  10. There is no JSON.stringify. If you specify a JSONReader, it expects your server to have sent you valid JSON.

    This is not valid JSON:


    {
    EMPLOYEES:[
    {
    ID:115,
    ...
  11. You cannot cover javascript popups. You can cover Ext.messages. You are restricted by HTML/javascript/CSS



    <script type="text/javascript">
    Ext.setup({
    tabletStartupScreen:...
  12. Post an example object and how you are trying to load it. I'm not sure how or why you would "send" a javascript object.

    Maybe you should look at:

    http://www.json.org/js.html
  13. Replies
    17
    Views
    2,386
    In the case of lists that can be tapped for details+comments (or whatever) I tend to chain the detail page store and comment store together using the load listener in the detail page store to check...
  14. Since you have specified 'fullscreen' on the parent container, all you have to do is specify scroll:true on either the parent or child container. See my example code here.
    Select second tab.
    Swipe...
  15. Simply assigning text to the property sets it, when you clear the value. Does this not work for you?



    <script type="text/javascript">
    Ext.setup({
    tabletStartupScreen:...
  16. Replies
    6
    Views
    6,974
    you can also rebuild all the css with a change using their SASS build, but it's easier, simpler, and ultimately preferable to just add a new class. That's what I ended up doing too.
  17. Replies
    1
    Views
    1,160
    Naming an argument, doesn't mean it's going to be that...you just got the event/source args reversed in the tap handler.


    <script type="text/javascript">
    Ext.setup({
    ...
  18. By default, getGroupString() on a store, creates groups from the results. So I'm not sure how you are getting group bars when you have no results.

    I would love to see some code so I could prove...
  19. Replies
    3
    Views
    4,694
    This is just for you. ~o)


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>
    Google Visualization...
  20. I don't fully understand your question. I mocked up what you posted in a readable and testable format.
    Can you run this and explain again, what doesn't look right?



    Ext.setup({
    ...
  21. What do you mean by, "out of sync"?

    The clearSelection() should be done on the beforeshow() handler, but other than that, this looks like an app I would produce and be happy with.
  22. Replies
    4
    Views
    1,391
    UI coding is really an art that takes a little bit of "Wrapper" thinking. This is true in CSS, Java SWING, HTML, and now Sencha/Touch.

    You don't fully understand 3 things, which I will try to...
  23. Replies
    3
    Views
    1,503
    I generally like to start with Panels with a card layout (some of the older folks like myself remember the genious that was, hypercard). Your problem is that you don't have an adequant component...
  24. I had a static json response:


    [{
    "id":1
    ,"givenName":"test"
    ,"familyName":"test2"
    ,"time":200
    }]
  25. Replies
    2
    Views
    599
    That wasn't very helpful :p

    - Use xtypes. don't directly instantiate componetns.

    I use xtypes where there isn't a lot of configuration needed. Most of the time, xtypes cause more problems than...
Results 1 to 25 of 114
Page 1 of 5 1 2 3 4